cquery
cquery copied to clipboard
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, sem...
I am unable to Objective-C completion work on the master branch, on Ubuntu 16.04, with Monaco editor. I have built cquery under /cquery/build/release/bin/cquery, created compile_commands.json using CMake, the I start...
Debugger entered--Lisp error: (lsp-timed-out-error) signal(lsp-timed-out-error nil) lsp--send-wait("Content-Length: 215\15\n\15\n{\"jsonrpc\":\"2.0\",\"method\":\"$cquery/base\",\"params\":{\"textDocument\":{\"uri\":\"file:///home/damon/ArchitecturePrototype/Modules/Foundation/Source/CybertronLogServer/Main.cpp\"},\"position\":{\"line\":0,\"character\":0}},\"id\":2}" # #s(lsp--parser :waiting-for-response t :response-result nil :headers nil :body nil :reading-body nil :body-length nil :body-received nil :leftovers "" :queued-notifications nil :queued-requests nil...
How does cquery act for source files which are not included in `compile_commands.json`? I noticed that when I'm opening such files, cquery generates a lot of diagnostics (probably by compiling...
In compile_commands.json, there are multiple gtest entries with different flags and target path: ``` { "directory": "PATH_TO_BUILD", "command": "/usr/bin/c++ -DGTEST_CREATE_SHARED_LIBRARY=1 -Dgmock_EXPORTS -I/usr/src/gmock/include -I/usr/src/gmock -I/usr/src/gtest/include -I/usr/src/gtest -O2 -g -DNDEBUG -fPIC -Wall...
When using cquery for cross compilation I have the problem that it adds the pathes of the system compiler to the include path and not the ones of the cross...
It would be nice to have a completion for define, include, if, ifdef, elif, else, endif, undef, line, error and pragma
Similar to https://github.com/cquery-project/cquery/issues/433, the submodules are obviously missing A proper source tarball including submodules can be created when doing Releases, see https://help.github.com/articles/creating-releases This can be done with `git-archive`, an example...
windows 7 vscode 1.25.1 cquery 0.1.10
Work in progress
It would be useful to distinguish between mutable and immutable function arguments. Currently implemented in Eclipse CDT. E.g.: ```cpp void func(int a, int& b, const char* c, char* d); //...