clangd / vscode-clangd

Visual Studio Code extension for clangd
https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd
MIT License
594 stars 97 forks source link

CheckOptions for clang-tidy by clangd.arguments in vscode setting.json #565

Open yangtzech opened 6 months ago

yangtzech commented 6 months ago

Can CheckOptions, such as readability-identifier-naming.FunctionCase: camelBack, be passed to clang-tidy through clangd.arguments? It appears that --clang-tidy-checks only supports certain checks without options, like bugprone-argument-comment. While I understand that this configuration can be easily done using .clangd or config.yaml. But passing through clangd.arguments in vscode setting.json can be synced across different machines.