C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more
https://www.reddit.com/r/emacs/comments/806mgw/recent_improvement_of_cquery_and_emacscquery/
.cquery format has been changed
%clang
%c -std=gnu11
%cpp -std=gnu++14
-Iyour/include
Thanks to all distribution/OS packagers!
https://github.com/archlinuxcn/repo/tree/master/cquery https://www.freshports.org/devel/cquery
A workspace/symbol heuristic that can be used in some un-indexed places.
This archive contains binary that is in build/release/
: bin/cquery
, lib/.../libclang.so.5
and Clang resource directory.
cquery-executable
to the bin/cquery
executable https://github.com/jacobdufault/cquery/wiki/Emacs
cquery.launch.workingDirectory+cquery.launch.command
points to the bin/cquery
executable https://github.com/jacobdufault/cquery/wiki/Visual-Studio-Code#setting-up-the-extension
submodules are not included the "Source code" tarball. Follow https://github.com/cquery-project/cquery/wiki/Build
textDocument/definition in comments CXSymbolRole (read/write references can be assigned different colors)