with one click
cpp-lsp
// Use when setting up, repairing, or explaining the sample DotCraft C/C++ LSP plugin, including installing clangd into the plugin-local server/clangd directory and configuring C/C++ language intelligence.
// Use when setting up, repairing, or explaining the sample DotCraft C/C++ LSP plugin, including installing clangd into the plugin-local server/clangd directory and configuring C/C++ language intelligence.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | cpp-lsp |
| description | Use when setting up, repairing, or explaining the sample DotCraft C/C++ LSP plugin, including installing clangd into the plugin-local server/clangd directory and configuring C/C++ language intelligence. |
Install clangd into this plugin before expecting the LSP server to start. Do not commit downloaded clangd files; the sample keeps generated binaries under server/.
From the plugin root, run the platform script:
.\skills\cpp-lsp\scripts\prepare.ps1
bash ./skills/cpp-lsp/scripts/prepare.sh
The script downloads clangd version 22.1.0 into server/clangd by default. Override with CLANGD_VERSION or set CLANGD_URL to use an exact archive URL.
Requirements:
Tools.Lsp.Enabled=true.compile_commands.json, compile_flags.txt, or a usable .clangd setup for best results.If clangd starts but diagnostics are poor, inspect the project's compile database first. The plugin installs the language server only; it does not infer compiler flags for arbitrary build systems.