Skip to main content

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:

dcr gen vscode

Generates in .vscode/:

FilePurpose
tasks.jsonbuild task (dcr build)
launch.jsonDebug launch configuration
settings.jsonclangd/IntelliSense: include paths, standard
extensions.jsonRecommends vscode-clangd, vscode-lldb

CLion

dcr gen clion

Generates in .idea/:

FilePurpose
externalTools.xmlBuild, Run, Clean, Test as external tools
customTargets.xmlCustom build targets
misc.xmlC/C++ project settings
runConfigurations/<name>.xmlPer-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).