Overview
The official DevCPC VS Code extension provides seamless integration with Visual Studio Code, allowing you to build, run, and manage Amstrad CPC projects directly from your editor.Features
- ✅ Task Explorer - Visualize all DevCPC commands in the sidebar
- ✅ One-Click Execution - Run any command with a single click
- ✅ Auto-Refresh - Automatically detects configuration changes
- ✅ Native Integration - Uses VS Code’s built-in terminal and task system
- ✅ Project Detection - Automatically recognizes DevCPC projects
Installation
- Marketplace
- Command Line
- Direct Link
Usage
Access the DevCPC view
The DevCPC panel appears in the Explorer sidebar, showing all available tasks:
- 🆕 New Project
- 🔨 Build
- 🧹 Clean
- ▶️ Run
- ℹ️ Info
- ✅ Validate
- 🔄 Update
- 📄 Version
- ❓ Help
Task Descriptions
Build Tasks
🔨 Build
🔨 Build
Compiles your entire project:
- Converts sprites and screens
- Compiles ASM, BASIC, and C code
- Generates DSK/CDT/CPR images
- Validates memory limits
🧹 Clean
🧹 Clean
Removes generated files:
- Deletes
obj/directory - Deletes
dist/directory - Removes backup files
Testing Tasks
▶️ Run
▶️ Run
Launches your game in the configured emulator:
- Auto-detects DSK or CDT mode
- Closes previous emulator sessions
- Supports
--dskand--cdtflags
✅ Validate
✅ Validate
Pre-build validation:
- Checks configuration
- Verifies paths exist
- Validates tool availability
Project Management
🆕 New Project
🆕 New Project
Creates a new DevCPC project with template selection.
ℹ️ Info
ℹ️ Info
Displays project configuration and settings.
Maintenance Tasks
🔄 Update
🔄 Update
Updates DevCPC to the latest version from GitHub.
📄 Version
📄 Version
Shows current DevCPC version and checks for updates.
Keyboard Shortcuts
Create custom keyboard shortcuts for DevCPC tasks:settings.json
Configuration
The extension uses your project’sdevcpc.conf and doesn’t require additional VS Code settings.
Optional Settings
Customize behavior in VS Code settings:settings.json
Troubleshooting
Tasks not appearing
Tasks not appearing
Make sure:
- You’ve opened a folder containing
devcpc.conf - DevCPC is installed and in your PATH
- Click the refresh button in the DevCPC panel
Command not found
Command not found
Reload VS Code after installing DevCPC:
Terminal output cut off
Terminal output cut off
Increase terminal scrollback:
Development
The extension is open source:Related
Custom Workflows
Extend DevCPC with custom scripts
CLI Reference
Full command-line reference