clangd-lsp
Installation
SKILL.md
C/C++ Language Server (Clangd)
Language Server Protocol integration for Google Antigravity. Provides code intelligence, diagnostics, go-to-definition, find-references, and type inspection.
Supported Extensions
.c, .h, .cpp, .cc, .cxx, .hpp, .hxx, .C, .H
Prerequisites & Installation
Ensure clangd is installed and available on your system PATH:
macOS: brew install llvm | Linux: sudo apt install clangd | Windows: winget install LLVM.LLVM
Antigravity Workflow
- When editing or analyzing files matching .c, .h, .cpp, .cc, .cxx, .hpp, .hxx, .C, .H, the agent can invoke
clangdto verify syntax and type soundness. - Run language diagnostics via
run_command:clangd --version - Use language intelligence to trace symbol definitions and inspect API boundaries with zero ambiguity.