C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
Go to file
Fangrui Song c592f95be0 completion: if preamble size changes, rebuild it
Fix #190

If a new header is added, the preamble size changes. Language clients may cache completion results, thus we rebuild preamble to avoid inaccurate results.
2019-01-13 18:33:18 +08:00
ci Use clang_File_tryGetRealPathName 2019-10-23 21:56:50 -07:00
clang_archive_hashes -DSYSTEM_CLANG=off: 6.0.1 -> 7.0.0 2019-11-09 20:03:28 -08:00
cmake Fix VS2017 build issues and add Appveyor CI script (#118) 2019-11-09 20:09:13 -08:00
index_tests Fix EnumConstantDecl's kind & EnumDecl's vars 2019-11-09 20:09:13 -08:00
src completion: if preamble size changes, rebuild it 2019-01-13 18:33:18 +08:00
third_party Remove ASTUnit from indexer and clean up 2019-10-24 01:13:22 -07:00
.appveyor.yml Fix VS2017 build issues and add Appveyor CI script (#118) 2019-11-09 20:09:13 -08:00
.clang-format First draft: replace libclang indexer with clangIndex 2019-10-24 00:53:16 -07:00
.gitignore . 2019-10-23 21:56:50 -07:00
.gitmodules rapidjson url (#43) 2019-10-24 01:01:21 -07:00
CMakeLists.txt cmake_minimum_required 3.8; clean up 2019-11-09 20:09:13 -08:00
LICENSE Add Apache LICENSE file (#121) 2019-11-09 20:09:13 -08:00
README.md Fix broken link in README.md (#101) 2019-11-09 20:03:28 -08:00

ccls

Telegram Gitter

ccls, which originates from cquery, is a C/C++/Objective-C language server.

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.