Scan CDK project files in your workspace and automatically generate VS Code build tasks and debug configurations.
Features
- CDK Project Explorer — Tree view in Explorer sidebar showing .cdkproj file structure
- Drag & Drop — Drag files/folders from Explorer or system into the project tree
- Context Menu — Right-click to toggle exclude from build or remove from project
- Task Generation — Scan .cdkproj files to generate Build / Flash / Build and Flash tasks
- Debug Configuration — Auto-generate cppdbg Launch configurations
- Preserves your existing custom tasks and configurations
- Chinese (zh-cn) localization
Requirements
- C-Sky CDK toolchain (
cdk-make.exe)
- CSky Flash Programmer (
CSKYFlashProgramerConsole.exe)
- C-Sky Debug Server (
DebugServerConsole.exe)
- C-Sky GDB (
csky-elfabiv2-gdb.exe)
Extension Settings
| Setting |
Default |
Description |
cdk-devtools.cdkMakePath |
"" |
Full path to cdk-make.exe |
cdk-devtools.flashProgrammerPath |
"" |
Full path to CSKYFlashProgramerConsole.exe |
cdk-devtools.debugServerPath |
"" |
Full path to DebugServerConsole.exe |
cdk-devtools.gdbPath |
"" |
Full path to csky-elfabiv2-gdb.exe |
cdk-devtools.debugPort |
1025 |
DebugServer port number |
Usage
Generate Tasks & Launch Configs
- Open a workspace containing
.cdkproj files
- Configure the tool paths in Settings
- Open Command Palette (
Ctrl+Shift+P) → Scan CDK project files and generate tasks
- Select the projects you want to configure
- Build via
Ctrl+Shift+B, or debug via F5
Browse Project Files
- The CDK Project Files view appears in the Explorer sidebar
- Click the view title to select a
.cdkproj project
- Drag .c/.h/.cpp/.hpp/.S/.ld/.inc files from Explorer into the tree to add them
- Drag a folder to recursively import its contents
- Right-click items for Toggle Exclude from Build / Remove from Project
| |