ClickHouse/format_sources
proller 1436f09a2a add format_sources for kdevelop
Usage: Settings -> Configure KDevelop -> Source Formatter -> C++ ; Custom Script Formatter ; Kdevelop: kdev_format_source
2017-03-13 21:49:39 +04:00

3 lines
251 B
Plaintext

# Settings -> Configure KDevelop -> Source Formatter -> C++ ; Custom Script Formatter ; Kdevelop: kdev_format_source
*.cpp *.c *.h : mv $TMPFILE $TMPFILE.tmp; cat $TMPFILE.tmp | clang-format -style=file -assume-filename=`pwd`/.clang-format > $TMPFILE