Skip to content

Commit

Permalink
Add VSCode workspace and clang tool configs [AP-3053]
Browse files Browse the repository at this point in the history
  • Loading branch information
sbmueller committed Nov 26, 2024
1 parent 891aede commit d3e4a7d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 118 deletions.
117 changes: 0 additions & 117 deletions .clang-format

This file was deleted.

1 change: 1 addition & 0 deletions .clang-format
1 change: 1 addition & 0 deletions .clang-tidy
2 changes: 1 addition & 1 deletion c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ endif()
add_subdirectory(examples)

swift_validate_targets()
swift_create_clang_tidy_targets()
swift_create_clang_tidy_targets(DONT_GENERATE_CLANG_TIDY_CONFIG)
18 changes: 18 additions & 0 deletions libsbp.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"C_Cpp.clang_format_style": "file",
"C_Cpp.formatting": "clangFormat",
"C_Cpp.codeAnalysis.clangTidy.enabled": true,
"C_Cpp.codeAnalysis.runAutomatically": true,
"C_Cpp.default.compileCommands": "compile_commands.json",
"C_Cpp.clang_format_path": "~/.local/bin/clang-format",
}
}

0 comments on commit d3e4a7d

Please sign in to comment.