Last active
January 21, 2025 20:41
-
-
Save nickcernis/5784e4ff7d06bc6e9afb582549fdd310 to your computer and use it in GitHub Desktop.
Minimal .clang-format, requires clang-format 16+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
BasedOnStyle: LLVM | |
IndentWidth: 4 | |
UseTab: Never | |
ColumnLimit: 135 | |
PointerAlignment: Left | |
AllowShortFunctionsOnASingleLine: None | |
InsertNewlineAtEOF: true | |
NamespaceIndentation: All | |
FixNamespaceComments: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configurations": [ | |
{ | |
"name": "Mac", // or "Win32", "Linux" depending on your OS | |
"includePath": [ | |
"${workspaceFolder}/**" | |
], | |
"cppStandard": "c++23", | |
"intelliSenseMode": "macos-clang-x64" // or "windows-gcc-x64", "linux-gcc-x64" | |
} | |
], | |
"version": 4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment