clangd

What clangd is
clangd is available on Linux, macOS, and Windows. It runs on Linux, macOS, and Windows, giving projects a common tool across those desktop operating systems. The server supports projects built with CMake, Bazel, Make, Autotools, and custom build systems when they can generate compilation database entries. This lets teams use clangd with several established build workflows while retaining a path for custom systems that expose the required compilation details. clangd works with Clang toolchains and can query GCC-compatible compilers for their default configuration. Its documentation also describes Bear support for GCC, Clang, MSVC, and cross, embedded, and HPC compiler setups. The product has a free plan, so access does not depend on a listed paid subscription. Developers can use the clangd website for product information and compatibility guidance before matching it to their operating system, build system, and compiler configuration.
Who it suits
clangd is available on Linux, macOS, or Windows. It is relevant to teams using CMake, Bazel, Make, Autotools, or custom systems that produce compilation database entries, including projects with Clang or GCC-compatible compiler configurations.
What it does well
- Free plan
- Supports Linux, macOS, and Windows
- Works with CMake, Bazel, Make, and Autotools
- Supports custom compilation-database build systems
- Clang and GCC-compatible compiler support
What to know first
- Custom systems must generate compilation database entries
- Compiler support depends on documented configuration paths
Limits
The free plan is the listed offering. Custom build systems need to generate compilation database entries for support.
Getting started
- Visit the clangd website
- Use it on Linux, macOS, or Windows
- Select a project using CMake, Bazel, Make, Autotools, or a compatible custom build system
- Provide compilation database entries for custom systems
- Configure the project with Clang or a GCC-compatible compiler
Verdict
Choose clangd if you need the free plan across the listed desktop platforms. It fits projects whose build systems can provide compilation database entries and whose toolchains align with Clang or supported GCC-compatible configurations. Look elsewhere if your build setup cannot expose that compilation information.
Questions
Is clangd free?
Yes. clangd has a free plan.
Which operating systems does clangd support?
Supported platforms are Linux, macOS, and Windows.
Which build systems can clangd work with?
It supports CMake, Bazel, Make, Autotools, and custom systems that generate compilation database entries.
Which compilers are supported?
clangd works with Clang and can query GCC-compatible compilers for their default configuration. Its documentation also describes Bear support for GCC, Clang, MSVC, and cross, embedded, and HPC compilers.
Where clangd stands on Freedom251
- C++ IDEs#20 of 24
