A VS Code extension that provides Run/Debug Configuration management with smart usage tracking and intuitive organization.
- Create New Configurations - Create launch configs and tasks with templates
- Edit Configurations - Full-featured form-based editing with validation
- Delete Configurations - Safe deletion with confirmation dialogs
- Run Configurations - Execute launch configs and tasks directly
- Usage Tracking - Automatically tracks how often you use each configuration
- Smart Sorting - Most used configurations appear first
- Usage Indicators - See usage count in tree view (e.g., "5x")
- Simple & Intuitive - No complex grouping, just smart ordering
- Quick Run (
Ctrl+Alt+Q) - Fast access to all configurations with usage info - Usage-Based Sorting - Your frequently used configs naturally float to the top
- Visual Indicators - Clear usage counts help you identify important configurations
- Tree View Integration - Browse configurations in the Explorer sidebar
- Webview Editor - Modern, responsive configuration editing interface
- Context Menus - Right-click actions for run and delete operations
- Clean Design - Simple, focused interface without overwhelming options
- Edit Configurations Dialog (
Ctrl+Alt+R/Cmd+Alt+R) - Opens webview with all configurations - Create New Configuration - Template-based creation with immediate editing
- Delete Configuration - Safe deletion with confirmation prompts
- Run/Debug - Execute configurations directly from tree or webview
- File Management - Automatic .vscode/launch.json and tasks.json updates
- JSON Comment Support - Handles commented JSON configuration files
- Keyboard:
Ctrl+Alt+R(Windows/Linux) orCmd+Alt+R(Mac) - Quick Run:
Ctrl+Alt+Q(Windows/Linux) orCmd+Alt+Q(Mac) - Shows all configs with usage info - Tree View: Click "Edit Configurations..." or use toolbar buttons
- Command Palette: "Run Configs: Edit Configurations..."
- Run configurations to build usage history - frequently used configs automatically appear first
- Use Quick Run (
Ctrl+Alt+Q) to see all configurations ordered by usage - Check usage counts in tree view to identify your most important configurations
From Tree View:
- Click β Create New button in the Run Configurations tree view
- Select configuration type (Launch Configuration or Task Configuration)
- Webview opens directly in edit mode - start editing immediately!
From Webview:
- Click β Create New button in the webview toolbar
- Select configuration type (Launch Configuration or Task Configuration)
- Configuration created and opened in edit mode - seamless workflow!
- Webview Interface: Click βοΈ Edit button for any configuration
- Form-based Editing: Interactive input fields for all properties
- Save Options: Save, Save & Run, or Cancel changes
- Real-time Updates: Changes immediately saved to configuration files
- Run: Click any configuration or right-click β "Run Configuration"
- Delete: Right-click β "Delete Configuration" (with confirmation)
- Create: Click β button in tree view header
- Edit: Click βοΈ Edit button for detailed form editing
- Run: Click βΆ Run button to execute configuration
- Delete: Click ποΈ Delete button (with confirmation)
- Create: Click β Create New button in toolbar
The extension provides full support for:
- Node.js - JavaScript/TypeScript debugging and execution
- Python - Python script debugging and execution
- Chrome - Web application debugging
- Extension Host - VS Code extension debugging
- Any Type - Generic support for all launch configuration types
- Shell Tasks - Command-line operations
- NPM Tasks - Package.json script execution
- Build Tasks - Compilation and build processes
- Any Type - Generic support for all task types
| Command | Keyboard Shortcut | Description |
|---|---|---|
Edit Configurations... |
Ctrl+Alt+R / Cmd+Alt+R |
Open the main configuration dialog |
Create Run Configuration |
Ctrl+Alt+N / Cmd+Alt+N |
Create a new configuration from template |
Run Configuration |
- | Execute selected configuration |
The "Run Configurations" tree view in the Explorer sidebar provides:
- Overview of all launch and task configurations
- Quick run buttons for immediate execution
- Context menus for edit, duplicate, delete operations
- Icons indicating configuration types (Node.js, Python, Chrome, etc.)
- Modal-based Interface: Uses VS Code's native QuickPick and InputBox APIs to create modal dialogs
- launch.json Integration: Direct read/write operations on .vscode/launch.json files
- Template System: Pre-built configuration templates for common development scenarios
- Real-time Updates: Automatic tree view refresh when configurations change
- Creates
.vscode/launch.jsonif it doesn't exist - Preserves existing configurations and comments
- Validates configuration properties during editing
- Automatic backup and error handling
- Open VS Code
- Go to Extensions view (
Ctrl+Shift+XorCmd+Shift+X) - Search for "Run Configurations"
- Click Install
- Clone this repository
- Run
npm install - Run
npm run package - Install the generated VSIX file
- Open any workspace with configuration files (or create them)
- Use
Ctrl+Alt+R/Cmd+Alt+Rto open the configuration manager - Use β buttons to create new configurations
npm install
npm run compile
npm run package # Creates VSIX filesrc/
βββ extension.ts # Main extension activation & commands
βββ configurationManager.ts # CRUD operations for configs
βββ configurationProvider.ts # Tree view provider
βββ types.ts # TypeScript definitions
βββ webview.js # Webview frontend logic
βββ webview.css # Webview styling
- Full CRUD Operations: Create, Read, Update, Delete for both launch.json and tasks.json
- Webview Interface: Modern, responsive UI with VS Code theming
- Real-time Sync: Tree view and webview stay synchronized
- JSON Comment Support: Handles commented configuration files
- Error Handling: Comprehensive error handling and user feedback
- β Complete CRUD operations for launch configs and tasks
- β Streamlined create β edit workflow
- β Delete functionality with confirmation
- β Dual create buttons (tree view + webview)
- β Real-time synchronization
- β Cancel protection during creation
Ctrl+Alt+R/Cmd+Alt+R- Open Run Configurations Manager- Standard VS Code debugging shortcuts work with created configurations
Perfect Run Configuration management for VS Code! π | Edit Configurations Dialog | β | β | | Create from Templates | β | β | | Modal-based Editing | β | β | | Run Configuration List | β | β | | Configuration Folders | β | β (Intentionally skipped) | | Share Configurations | β | β (via launch.json) | | Before Launch Tasks | β | β (via VS Code tasks) |
This extension is designed to be a faithful recreation of Run/Debug Configuration Modal functionality within VS Code's architecture. Contributions that maintain this design philosophy are welcome.
MIT