vscode-clangd icon indicating copy to clipboard operation
vscode-clangd copied to clipboard

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

Open yangtzech opened this issue 2 years ago • 0 comments

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.

yangtzech avatar Dec 17 '23 02:12 yangtzech