Skip to content
Snippets Groups Projects
Commit 1a1c4ff4 authored by Zoe Pfister's avatar Zoe Pfister :speech_balloon:
Browse files

add .clang-format for formatting cpp code

parent 013c57d7
No related branches found
No related tags found
5 merge requests!39Merge Develop into Main,!19development into master,!17Inital Host, initial Client,!10merge serial comm and sd write into espnow,!2Draft: Read Sensors on ESP32 Client device
---
BasedOnStyle: LLVM
ColumnLimit: 120
IndentWidth: 4
TabWidth: 4
UseTab: ForIndentation
AlignEscapedNewlines: DontAlign
AllowShortFunctionsOnASingleLine: Inline
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
...
{
"version": "0.1.0",
"tasks": [
{
"taskName": "clang-format-everything",
"command": "clang-format",
"args": ["-i", "*" ],
"isShellCommand": true,
"isBackground": true
}
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment