- Notifications
You must be signed in to change notification settings - Fork163
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
License
jacobdufault/cquery
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
cquery is no longer under development.clangd andccls are both good replacements.
cquery is a highly-scalable, low-latency language server for C/C++/Objective-C. It is testedand designed for large code bases likeChromium. cquery providesaccurate and fast semantic analysis without interrupting workflow.
cquery implements almost the entire language server protocol and providessome extra features to boot:
- code completion (with both signature help and snippets)
- findingdefinition/references
- call (caller/callee) hierarchy,inheritance (base/derived) hierarchy
- symbol rename
- document symbols and approximate search ofworkspace symbol
- hover information
- diagnostics
- code actions (clang FixIts)
- preprocessor skipped regions
- #include auto-complete, undefined type include insertion, include quick-jump(goto definition, document links)
- auto-implement functions without a definition
- semantic highlighting, including support forrainbow semantic highlighting
>>>Getting started (CLICK HERE) <<<
cquery is able to respond to queries quickly because it caches a huge amount ofinformation. When a request comes in, cquery just looks it up in the cachewithout running many computations. As a result, there's a large memory overhead.For example, a full index of Chrome will take about 10gb of memory. If youexclude v8, webkit, and third_party, it goes down to about 6.5gb.
MIT
About
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
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.