IDE Integration
VS Code
Install the recommended DCR extension by Dexoron-Labs. Do not install Microsoft C/C++ extensions for DCR projects: DCR uses clangd. MS C/C++ is acceptable only when you need its debugger.
Recommended companion extensions:
- Even Better TOML
- CodeLLDB, or MS C/C++ for debugger support only
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).