Skip to content

Commit

Permalink
Merge pull request #507 from imperialCHEPI/vscode-cmake-format
Browse files Browse the repository at this point in the history
CMake: Make VS Code use same formatter as we use with `pre-commit`
  • Loading branch information
alexdewar authored Aug 28, 2024
2 parents 1a0e789 + 58e0d3c commit e3a1017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"ms-vscode.cpptools-extension-pack",
"cheshirekow.cmake-format",
"davidanson.vscode-markdownlint",
"streetsidesoftware.code-spell-checker"
]
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
},
"[cmake]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "cheshirekow.cmake-format",
"editor.rulers": [100],
},
"[json]": {
Expand Down

0 comments on commit e3a1017

Please sign in to comment.