Set indentation to use spaces instead of tabs, add auto indentation script
This commit is contained in:
@@ -63,4 +63,4 @@ SpacesInParentheses: false
|
||||
SpacesInSquareBrackets: false
|
||||
Standard: Cpp11
|
||||
TabWidth: 4
|
||||
UseTab: ForIndentation
|
||||
UseTab: Never
|
||||
|
||||
3
format-code.sh
Executable file
3
format-code.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
find . '(' -name '*.h' -o -name '*.c' ')' -exec clang-format-3.7 -style=file -i '{}' \;
|
||||
Reference in New Issue
Block a user