clangd-lsp connects the C/C++ language server to Claude Code, giving it code intelligence and diagnostics for c, .h, .cpp, .cc, .cxx, .hpp, .hxx, .C, .H files. The plugin only wires up the server; the server binary must be installed separately.
Was es kann
Wo clangd LSP läuft und was es ergänzt, laut Dokumentation
Registers the clangd language server (command: clangd --background-index) via the marketplace lspServers entry
Maps file extensions to the language: .c, ..h, ..cpp, ..cc, ..cxx, ..hpp, ..hxx, ..C, ..H
Gives Claude Code code intelligence and diagnostics for C/C++ projects
Wann Sie es einsetzen sollten
Gut geeignet
Working in a C/C++ codebase where Claude Code should use real language-server analysis
Wanting diagnostics and navigation from clangd without leaving Claude Code
Nicht geeignet für
Projects in other languages (it only maps the extensions listed)
Setups where you cannot install the clangd binary on PATH
So installieren Sie clangd LSP
Sie benötigen: Claude Code; clangd binary on PATH
Install the language server binary first (the plugin does not bundle it):
macOS: brew install llvm, then add /opt/homebrew/opt/llvm/bin to PATH
Windows: winget install LLVM.LLVM or download from LLVM releases
Install the plugin: /plugin install clangd-lsp@claude-plugins-official
Berechtigungen und Sicherheit
Worauf es zugreifen kann
Launches the clangd process locally and reads the project files it analyzes
Sicherheitshinweise der Maintainer
Marketplace README: make sure you trust a plugin before installing, updating, or using it
Prüfen Sie den Quellcode, bevor Sie einem Agenten Zugriff auf Zugangsdaten oder Produktivsysteme geben. Wir dokumentieren die Angaben der Maintainer; Code prüfen wir nicht.
Einschränkungen
Requires the language server to be installed separately; the plugin does not install it
Das agentische Coding-Tool von Anthropic, das Ihre Codebasis liest, Dateien bearbeitet und Befehle ausführt, im Terminal, in IDEs, in der Desktop-App oder im Browser.
Kostenlos bis: Kein kostenloser Tarif: Claude Code ist in den bezahlten Claude-Abonnements (Pro, Max, Team, Enterprise) enth…