You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Fangrui Song
790daca4b2
|
3 years ago | |
---|---|---|
.github | 6 years ago | |
index_tests | 5 years ago | |
src | 3 years ago | |
third_party | 5 years ago | |
.appveyor.yml | 6 years ago | |
.clang-format | 5 years ago | |
.gitignore | 5 years ago | |
.gitmodules | 5 years ago | |
CMakeLists.txt | 3 years ago | |
LICENSE | 5 years ago | |
README.md | 4 years ago |
README.md
ccls
ccls, which originates from cquery, is a C/C++/Objective-C language server.
- code completion (with both signature help and snippets)
- definition/references, and other cross references
- cross reference extensions:
$ccls/call
$ccls/inheritance
$ccls/member
$ccls/vars
... - formatting
- hierarchies: call (caller/callee) hierarchy, inheritance (base/derived) hierarchy, member hierarchy
- symbol rename
- document symbols and approximate search of workspace symbol
- hover information
- diagnostics and code actions (clang FixIts)
- semantic highlighting and preprocessor skipped regions
- semantic navigation:
$ccls/navigate
It has a global view of the code base and support a lot of cross reference features, see wiki/FAQ. It starts indexing the whole project (including subprojects if exist) parallelly when you open the first file, while the main thread can serve requests before the indexing is complete. Saving files will incrementally update the index.
>>> Getting started (CLICK HERE) <<<
ccls can index itself (~180MiB RSS when idle, noted on 2018-09-01), FreeBSD, glibc, Linux, LLVM (~1800MiB RSS), musl (~60MiB RSS), ... with decent memory footprint. See wiki/Project-Setup for examples.