Provides C and C++ language support for Atom using Cquery language server
This is an Atom package that connects the atom-ide-ui package to cquery. cquery is a highly-scalable, low-latency language server for C/C++/Objective-C.
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.
Code Completion
Diagnostics
Find References
Code Highlight
Definitions
Hyperclick
Datatips
Signature Helper
Outline
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.