Plugin Offiziell

clangd LSP

C/C++ language server for Claude Code: code intelligence and diagnostics for .c files.

Autor
Anthropic
Funktioniert mit
Claude Code
Lizenz
Apache-2.0
Dokumentiert
Oct 2, 2026

Was clangd LSP ist

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

Wie sich clangd LSP einbinden lässt: welche Agenten es ausführen und was es ergänztLÄUFT INIhr AgentClaude Codeein Host dokumentiertPLUGIN · OFFIZIELLclangd LSPBündel aus Skills, Befehlen, Hook…5 Installationsschritte1 BerechtigungshinweisLizenz: Apache-2.0WAS ES ERGÄNZTWas es kannRegisters the clangd language ser…Maps file extensions to the langu…Gives Claude Code code intelligen…Agent → Erweiterung → neue Fähigkeit · aus dem offiziellen Repository oder der Dokumentation
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

  1. Install the language server binary first (the plugin does not bundle it):
  2. macOS: brew install llvm, then add /opt/homebrew/opt/llvm/bin to PATH
  3. Ubuntu/Debian: sudo apt install clangd (Fedora: sudo dnf install clang-tools-extra; Arch: sudo pacman -S clang)
  4. Windows: winget install LLVM.LLVM or download from LLVM releases
  5. 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

Tools, die es erweitert

Claude Code

Web · Desktop

Noch keine Nutzerbewertungen

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…

Listed Noch nicht bewertet

Geprüft code.claude.com (öffnet die Website von Claude Code in einem neuen Tab)

Ab $20/mo US · geprüft Sep 29

Häufig gestellte Fragen

How do I install the clangd-lsp plugin for Claude Code?

Install the language server first, then run /plugin install clangd-lsp@claude-plugins-official. Quelle

Which file extensions does the clangd-lsp plugin support?

.c, ..h, ..cpp, ..cc, ..cxx, ..hpp, ..hxx, ..C, ..H. Quelle

Does the clangd-lsp plugin install clangd for me?

No. The README lists install commands for the server itself; the plugin only registers it with Claude Code. Quelle

Verwandte Ratgeber

Quellen und Lücken

Von den Maintainern nicht angegeben: last_release not visible.

Weitere Erweiterungen zum Ansehen