add clang autoformat settings to sublime project
This commit is contained in:
3
.clang-format
Normal file
3
.clang-format
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
BasedOnStyle: LLVM
|
||||||
|
IndentWidth: 4
|
||||||
|
SpacesBeforeTrailingComments: 2
|
||||||
@@ -1,13 +1,4 @@
|
|||||||
{
|
{
|
||||||
"build_systems":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
|
|
||||||
"name": "Anaconda Python Builder",
|
|
||||||
"selector": "source.python",
|
|
||||||
"shell_cmd": "python -u \"$file\""
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"folders":
|
"folders":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -18,5 +9,12 @@
|
|||||||
"follow_symlinks": true,
|
"follow_symlinks": true,
|
||||||
"path": "."
|
"path": "."
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"settings":
|
||||||
|
{
|
||||||
|
"ClangFormat": {
|
||||||
|
"style": "File",
|
||||||
|
// "format_on_save": true,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user