Skip to content

Instantly share code, notes, and snippets.

@nickcernis
Last active January 21, 2025 20:41
Show Gist options
  • Save nickcernis/5784e4ff7d06bc6e9afb582549fdd310 to your computer and use it in GitHub Desktop.
Save nickcernis/5784e4ff7d06bc6e9afb582549fdd310 to your computer and use it in GitHub Desktop.

Revisions

  1. nickcernis revised this gist Jan 21, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions .clang-format
    Original file line number Diff line number Diff line change
    @@ -6,3 +6,5 @@ ColumnLimit: 135
    PointerAlignment: Left
    AllowShortFunctionsOnASingleLine: None
    InsertNewlineAtEOF: true
    NamespaceIndentation: All
    FixNamespaceComments: false
  2. nickcernis revised this gist Jan 20, 2025. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions c_cpp_properties.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    {
    "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
    }
  3. nickcernis revised this gist Jan 8, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions .clang-format
    Original file line number Diff line number Diff line change
    @@ -5,3 +5,4 @@ UseTab: Never
    ColumnLimit: 135
    PointerAlignment: Left
    AllowShortFunctionsOnASingleLine: None
    InsertNewlineAtEOF: true
  4. nickcernis created this gist Jan 1, 2025.
    7 changes: 7 additions & 0 deletions .clang-format
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    ---
    BasedOnStyle: LLVM
    IndentWidth: 4
    UseTab: Never
    ColumnLimit: 135
    PointerAlignment: Left
    AllowShortFunctionsOnASingleLine: None