cpp-vscode-guide icon indicating copy to clipboard operation
cpp-vscode-guide copied to clipboard

Replace clang-format, clang-tidy, etc. with clangd

Open fbaeuerlein opened this issue 5 years ago • 0 comments

Possible settings.json configuration

"clangd.semanticHighlighting": true,
"clangd.checkUpdates": true,
"clangd.arguments": [
    "-clang-tidy",
    "--compile-commands-dir=${workspaceFolder}/build",        
    "--header-insertion=iwyu",
    // "--suggest-missing-includes", 
    "-log=verbose"
]

Seems not to work currently together with clang-tidy. No errors are displayed (e.g. nullptr deref). Maybe wait for update of ext or vscode.

fbaeuerlein avatar Sep 03 '20 09:09 fbaeuerlein