Description
clangd is a language server for C++ that gives your editor smart features such as code completion, compile errors, go-to-definition and more. It works with many editors through a plugin, and the project's own page shows Visual Studio Code with the clangd plugin as an example. clangd is based on the Clang C++ compiler and is part of the LLVM project. The site has a getting started guide, a features list, configuration and troubleshooting pages, guides, a FAQ, notes on the design and protocol extensions, and a link to the bug tracker. Its source lives in the clang-tools-extra folder of the llvm-project repository on GitHub, and the community talks on the clangd forum and on its Discord server.…
Highlights
- Code completion for C++ in your editor
- Compile errors shown in the editor
- Go to definition and other smart features
- Works with many editors through plugins
- Based on Clang and part of LLVM
Ratings & Reviews
No ratings yet
Be the first to rate Clangd.
People also visit
Kotlin Language Server
Kotlin code completion, diagnostics and more for any editor/IDE
Clangd FAQ
What is clangd?
A language server for C++ that gives your editor code completion, compile errors and go-to-definition.
Is it free?
Yes. It is open source and part of the LLVM project.
How do I install it?
clangd is usually distributed in LLVM packages or in a separate clang-tools package, such as clang-tools on Ubuntu. Those packages mostly follow LLVM's releases, which come out about every six months.
Which editors can use it?
Many editors, through a plugin. The site shows Visual Studio Code with the clangd plugin.
Can I check which version I am running?
Yes. The FAQ has an entry on how to check the clangd version you are using.
Where do I report problems?
Bugs go to the issue tracker on GitHub. Questions can go to the forum or the clangd Discord server.
What are the best Clangd alternatives?
Popular alternatives to Clangd include Ccls, Kotlin Language Server and Vala Language Server. See all Clangd alternatives




