Back to Plugins

C/C++ LSP (clangd)

C and C++ language server with header resolution and memory safety hints. LLVM-based tooling with intelligent completions, diagnostics, and code navigation.

ccpplspllvmofficial

Installation

claude plugins add clangd-lsp@claude-plugins-official

Configuration

{
  "enabledPlugins": {
    "clangd-lsp@claude-plugins-official": true
  }
}

Commands

/clang-checkRun clang static analyzer
/clang-formatFormat C/C++ code
/cmakeGenerate and manage CMake builds

How to install

  1. Open Claude Code in your terminal
  2. Run the installation command above
  3. The plugin will be enabled automatically
  4. Use the plugin's features in your Claude Code sessions
View source on GitHub