-
Notifications
You must be signed in to change notification settings - Fork 94
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
Instead of put a compile_commands.json
at source root
#218
Comments
Yes, this can be done today by adding the following to
Another way is to use clangd's own config file (see the |
That's it, thanks.
It doesn't seem workspace specific, does it? |
It can be. From the docs:
|
@playgithub, if you use CMake Tools extension, then there is a |
Anyway it's an assistant file, I prefer to make it transparent. |
For cmake projects,
compile_commands.json
has to be copied/linked to the source root directory now.Instead of this, can a property of vscode workspace be set, so that
vscode-clangd
knows where iscompile_commands.json
?The text was updated successfully, but these errors were encountered: