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: either stderr or 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 to 2 (verbose). so like, -3 is giving πŸ’€ and 2 is giving πŸ—£οΈ.

🌈 SEE ALSO 🌈

  1. https://github.com/MaskRay/ccls/wiki
  2. https://langserver.org/

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