This plugin provides ide-like features for C/C++ and Objective C, including Code Completion, Diagnostics, Find References etc.
All contributions and feedback are appreciated.
To specify include directories and other clang options, a
compile_commands.json file on your project root directory will suffice.
If you can't create a
compile_commands.json file, you can alternatively add a file named
.cquery to your project root directory.
Each argument in that file is separated by a newline. Lines starting with
# are skipped. The first line can optionally be the path to the intended compiler, which can help if the standard library paths are relative to the binary. Here's an example:
# Driver /usr/bin/clang++-4.0 # Language -xc++ -std=c++11 # Includes -I/work/cquery/third_party
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.