move cdb directory option to vscode settings

This commit is contained in:
BlackMATov
2023-12-10 04:45:37 +07:00
parent e0bc93b9f3
commit debecdb14b
3 changed files with 3 additions and 8 deletions

View File

@@ -9,7 +9,8 @@
"files.trimTrailingWhitespace": true "files.trimTrailingWhitespace": true
}, },
"clangd.arguments": [ "clangd.arguments": [
"--header-insertion=never" "--header-insertion=never",
"--compile-commands-dir=${workspaceFolder}/develop/.cdb"
], ],
"cmake.copyCompileCommands": "${workspaceFolder}/develop/.cdb/compile_commands.json" "cmake.copyCompileCommands": "${workspaceFolder}/develop/.cdb/compile_commands.json"
} }

View File

@@ -5,6 +5,3 @@ Diagnostics:
- modernize-* - modernize-*
- performance-* - performance-*
- readability-* - readability-*
CompileFlags:
CompilationDatabase: .cdb

View File

@@ -20,10 +20,7 @@ Diagnostics:
- misc-unused-using-decls - misc-unused-using-decls
- modernize-use-trailing-return-type - modernize-use-trailing-return-type
- readability-identifier-length - readability-identifier-length
- readability-named-parameter - readability-named-parameter``
- readability-redundant-access-specifiers - readability-redundant-access-specifiers
- readability-simplify-boolean-expr - readability-simplify-boolean-expr
- readability-use-anyofallof - readability-use-anyofallof
CompileFlags:
CompilationDatabase: ../develop/.cdb