IDE Integration
VS Code
dcr gen vscode
Generates in .vscode/:
| File | Purpose |
|---|---|
tasks.json | build task (dcr build) |
launch.json | Debug launch configuration |
settings.json | clangd/IntelliSense: include paths, standard |
extensions.json | Recommends vscode-clangd, vscode-lldb |
CLion
dcr gen clion
Generates in .idea/:
| File | Purpose |
|---|---|
externalTools.xml | Build, Run, Clean, Test as external tools |
customTargets.xml | Custom build targets |
misc.xml | C/C++ project settings |
runConfigurations/<name>.xml | Per-binary run configurations |
compile_commands.json
dcr gen compile-commands
Generates compile_commands.json at project root. Standard format for clangd, C/C++ IntelliSense, static analyzers.
project-info
dcr gen project-info
Outputs JSON array with project metadata (see gen-commands).