Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

ccls

> 开发工具
Open source

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

4.1K stars0 likes0 views
WebsiteGitHub

About

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

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

  • Build
  • FAQ

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.

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

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

> Tags

C++cppidelanguage-server-protocollsp-server

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具