C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
Go to file
2018-06-01 16:06:21 -07:00
ci Use clang_File_tryGetRealPathName 2018-04-07 16:46:22 -07:00
clang_archive_hashes clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz.SHA256 -> 16.04 2018-05-13 09:07:19 -07:00
cmake Add Config->largeFileSize; pure virtual or defaulted methods are definitions; fix $ccls/callHierarchy 2018-06-01 16:06:21 -07:00
index_tests $ccls/memberHierarchy: add field offset 2018-05-28 21:24:42 -07:00
src Add Config->largeFileSize; pure virtual or defaulted methods are definitions; fix $ccls/callHierarchy 2018-06-01 16:06:21 -07:00
third_party Replace loguru with a custom logger 2018-05-27 15:14:33 -07:00
.clang-format Add project .clang-format 2017-11-19 12:15:14 -05:00
.gitignore . 2018-03-31 00:53:39 -07:00
.gitmodules Replace loguru with a custom logger 2018-05-27 15:14:33 -07:00
CMakeLists.txt Remove Timer and PerformanceImportFile 2018-05-31 23:52:51 -07:00
README.md textDocument/references: include base references by default 2018-05-18 08:53:50 -07:00

ccls

ccls is a fork of cquery (originally written by Jacob Dufault), a C/C++/Objective-C language server.

It makes use of C++17 features, has less third-party dependencies and slimmed-down code base. Cross reference features are strenghened, (see wiki/FAQ. It currently uses libclang to index C++ code but will switch to Clang C++ API. Refactoring and formatting are non-goals as they can be provided by clang-format, clang-include-fixer and other Clang based tools.

The comparison with cquery as noted on 2018-05-17:

cquery ccls
third_party more fewer
C++ C++14 C++17
clang API libclang (C) libclang + clang/llvm C++
Filesystem AbsolutePath + custom routines llvm/Support
index slight enhancement
pipeline index merge+id remapping simpler and more robust

cquery has system include path detection (through running the compiler driver) while ccls does not.

>>> Getting started (CLICK HERE) <<<