ccls(1)
π ccls(1) β the C/C++/Objective-C language server bestie π
okay so real talk: this lives in section 1 of the General Commands Manual, and it's literally the language server for C, C++, and Objective-C. yes, all three. she contains multitudes. π
β¨ NAME β¨
ccls β your C/C++/Objective-C language server, no cap π«Ά
πΈ SYNOPSIS πΈ
ccls [options]
that's it. that's the whole vibe check. options go in, server goes brrr. β¨
π OPTIONS π
-hβ bestie this is just an alias for-help. same energy, shorter name. π-index=<root>β standalone mode, aka main character mode: it indexes a whole project and then exits. does the thing, dips. πͺβ¨-init=<string>β extra initialization options, and they're in JSON. yes queen, JSON. π-log-file=<file>β where the logs go: eitherstderror a log file. pick your fighter. π-log-file-appendβ appends to the log file instead of... not appending. you know the drill. π₯-test-index=<string>β runs index tests. it's giving quality assurance, it's giving responsible. π§-v=<int>β verbosity, ranging from-3(fatal) all the way up to2(verbose). so like,-3is giving π and2is giving π£οΈ.
π SEE ALSO π
iykyk, go read the wiki, she's iconic. π
β NOTES β
okay so this is the important part, bestie: this command is not intended for direct use. like, do not just run her raw, that's not the assignment. you're supposed to have an LSP (Language Server Protocol) client for your editor. the editor is the one holding the aux cord here. π
π AUTHOR π
this manual page was written by Shengjing Zhu <zhsj@debian.org>, for the Debian GNU/Linux system β but bestie, it may be used by others too. sharing is caring fr fr. π«Ά
and that's the whole page! πΈ this was the ccls(1) manual, dated Aug 2019 β yes, she's a little vintage, but vintage is literally a vibe. thank you for coming to my ted talk, slay, periodt, go index something. π
β¨π
π¦ where this page comes from
- debian bookworm: ccls 0.20220729-2 Β· Apache-2.0
- debian trixie: ccls 0.20241108-1 Β· Apache-2.0
- ubuntu jammy: ccls 0.20210330-1 Β· Apache-2.0
- ubuntu noble: ccls 0.20240202-1 Β· Apache-2.0
- ubuntu questing: ccls 0.20241108-1
- ubuntu stonking: ccls 0.20250815-0ubuntu4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms