Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fbaeuerlein opened this issue Sep 3, 2020 · 0 comments
Open

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

fbaeuerlein opened this issue Sep 3, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@fbaeuerlein
Copy link
Owner

fbaeuerlein commented Sep 3, 2020

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 fbaeuerlein added the enhancement New feature or request label Sep 3, 2020
@fbaeuerlein fbaeuerlein self-assigned this Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant