mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
add format_sources for kdevelop
Usage: Settings -> Configure KDevelop -> Source Formatter -> C++ ; Custom Script Formatter ; Kdevelop: kdev_format_source
This commit is contained in:
parent
1d33bd8ef6
commit
1436f09a2a
2
format_sources
Normal file
2
format_sources
Normal file
@ -0,0 +1,2 @@
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user