Skip to content
forked from MaskRay/ccls

C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting

License

Notifications You must be signed in to change notification settings

sergei-dyshel/ccls

Repository files navigation

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) <<<

About

C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 98.2%
  • CMake 1.1%
  • Other 0.7%