Description
ccls is a language server for C, C++ and Objective-C. It originates from cquery, and it provides code completion with signature help and snippets, definitions and references, and other cross references, including call, inheritance and member hierarchies. It also offers symbol rename, document symbols and approximate workspace symbol search, hover information, diagnostics and code actions from clang FixIts, formatting, and semantic highlighting with preprocessor skipped regions. Its global view of the code base supports these cross-reference features. When you open the first file, it indexes the whole project in parallel, including any subprojects, and the main thread can serve requests before indexing finishes. Saving files updates the index incrementally. The README says ccls can index itself, FreeBSD, glibc, Linux, LLVM and musl with a reasonable memory footprint, and it points to a project setup wiki and an FAQ for getting started.…
Highlights
- Completion, definitions and references
- Call, inheritance and member hierarchies
- Diagnostics and clang FixIts
- Incremental indexing as you save
Ratings & Reviews
No ratings yet
Be the first to rate Ccls.
People also visit
Kotlin Language Server
Kotlin code completion, diagnostics and more for any editor/IDE
Ccls FAQ
What is ccls?
A language server for C, C++ and Objective-C, originally from cquery.
Which editors can use it?
It is a language server, so it plugs into editors that support the language server protocol.
How does indexing work?
It indexes the whole project in parallel when you open the first file, and it still answers requests during indexing.
Does saving update the index?
Yes. Saving files updates the index incrementally.
What does it support?
Completion, definitions and references, hierarchies, rename, diagnostics, formatting and semantic highlighting.
Where do I get set up?
The README links a getting started guide, build steps and an FAQ.
What are the best Ccls alternatives?
Popular alternatives to Ccls include Clangd, Kotlin Language Server and Vala Language Server. See all Ccls alternatives










