Default compile_commands.json lookup locations #9149
Unanswered
madhurajith
asked this question in
Q&A
Replies: 2 comments 1 reply
-
If compile_commands.json is detected under the workspace folder, you should get a prompt UI to use that, but we won't automatically use that -- we do automatically use a configuration provider in some cases though. We don't search up the parent folders -- you could file a issue request for us to add that. |
Beta Was this translation helpful? Give feedback.
1 reply
-
You can set your own default location by using the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Are there any default locations vscode-cpptools look for the compile_commands.json file?
For example i could find this documentation for clangd, but i can't find anything like that for vscode-cpptools.
https://clangd.llvm.org/installation.html#project-setup
There the compile_commands.json can be put in any parent folder or the build sub folder of any of parent folders.
Is this the same for vscode-cpptools?
Beta Was this translation helpful? Give feedback.
All reactions