This repository was archived by the owner on Jul 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 163
Visual Studio Code
Jacob Dufault edited this page May 14, 2018
·
15 revisions
Install the cquery extension from the marketplace here. The source code is located at https://github.com/cquery-project/vscode-cquery.
If you run into issues, you can view debug output by running the
(F1
) View: Toggle Output
command and opening the cquery
output section.
To tell the extension where to find cquery, either add cquery to your PATH
or set "cquery.launch.command" in User Settings to the absolute path pointing to cquery.
{
"cquery.launch.command": "/absolute/path/to/cquery/release/bin/cquery",
"cquery.cacheDirectory": "/home/.cquery-cache/"
}
If for whatever reason you cannot generate a compile_commands.json
file, you
can add the flags to the cquery.index.extraClangArguments
configuration
option.