workspace_open
Launches a persistent module-aware clangd process for a C++ workspace, enabling AST queries and module indexing. Configure via build root, build directory, mode, and transport options.
Instructions
Open a C++ workspace and start one persistent module-aware clangd process.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | cpp skips module BMI augmentation; modules enables module-aware indexing | auto |
| root | Yes | Absolute C++ workspace root | |
| transport | No | native | |
| wslDistro | No | WSL distribution when transport is wsl | Arch |
| clangdPath | No | clangd executable inside the selected transport | |
| buildDirectory | Yes | Absolute build directory or path relative to root containing compile_commands.json | |
| experimentalModules | No | Enable slow clangd dependency discovery when prebuilt PCM files are unavailable |