Opened at 2026-10-01T02:51:18Z
Closed at 2026-10-01T21:22:36Z
#1436 closed todo (done)
Clangd setup and integration
| Reported by: | Ichthyostega | Owned by: | |
|---|---|---|---|
| Priority: | grave | Milestone: | |
| Component: | infrastructure | Keywords: | tooling platform scons |
| Sub Tickets: | #1438 | Parent Tickets: | #525, #1356, #1432 |
Description
As Lumiera developer,
I want a properly integrated clangd,
so that I can use external tools that rely on a Language-server for code-intelligence.
requirements
The Language-server clangd is based on the Clang compiler framework and the LLVM project. It requires a reliable record of all actual compiler invocations with full options, so that code diagnostics and navigation features see the code base in the same way as defined by our Build System.
The established solution is to generate a compile_commands.json as part of the build process. The format is specified by LLVM as the JSON Compilation Database; the related clangd documentation (notes on compile commands) explains how a language server consumes it.

Add subticket #1438 (DistCC and CCache support retired).