VS Code Setup Guide
Complete guide to integrating Bootspring with Visual Studio Code.
Overview
Bootspring integrates with VS Code through:
- Extension - UI integration, status bar, commands
- Terminal - CLI access within VS Code
- Context - CLAUDE.md file for AI assistants
Prerequisites
- VS Code 1.80.0 or higher
- Node.js 18+ installed
- Bootspring CLI installed (
npm install -g bootspring)
Extension Installation
From Marketplace
- Open VS Code
- Press
Ctrl+Shift+X(orCmd+Shift+Xon macOS) - Search "Bootspring"
- Click "Install"
From Command Line
From VSIX (Offline)
Extension Features
Status Bar
The status bar shows:
- Current project status
- Generation state
- Quick actions
Click to access commands.
Command Palette
Access Bootspring commands via Ctrl+Shift+P:
| Command | Description |
|---|---|
Bootspring: Generate Context | Regenerate CLAUDE.md |
Bootspring: Invoke Agent | Open agent picker |
Bootspring: Apply Skill | Open skill picker |
Bootspring: Start Workflow | Start a workflow |
Bootspring: Show Status | Display project status |
Bootspring: Open Dashboard | Open web dashboard |
Keyboard Shortcuts
Default shortcuts (customizable):
| Shortcut | Command |
|---|---|
Ctrl+Shift+B G | Generate Context |
Ctrl+Shift+B A | Invoke Agent |
Ctrl+Shift+B S | Apply Skill |
Ctrl+Shift+B W | Start Workflow |
Context Menu
Right-click options in editor:
- "Generate Context for Selection"
- "Ask Agent About This Code"
- "Apply Skill Pattern"
Right-click options in explorer:
- "Generate Context for Folder"
- "Initialize Bootspring Project"
Extension Settings
Open settings: Ctrl+, then search "Bootspring"
General Settings
Terminal Settings
Agent Settings
Workflow Settings
Terminal Integration
Using Integrated Terminal
Open terminal: Ctrl+`
Dedicated Bootspring Terminal
Create a dedicated profile in settings:
Tasks
Create .vscode/tasks.json:
Run tasks: Ctrl+Shift+B
Snippets
Built-in Snippets
The extension provides snippets for common patterns:
| Prefix | Description |
|---|---|
bs-config | Bootspring config file |
bs-agent | Agent invocation comment |
bs-skill | Skill application comment |
Custom Snippets
Add to .vscode/bootspring.code-snippets:
Code Lens
The extension adds CodeLens features:
Agent Suggestions
Above complex functions:
š” Ask frontend-expert about this | š” Review with code-review-expert
Skill Recommendations
Above patterns:
⨠Apply patterns/react-form | ⨠Apply patterns/api-endpoint
Enable/disable in settings:
Explorer Integration
Bootspring View
A dedicated sidebar view showing:
- Project status
- Available agents
- Recent workflows
- Quick actions
Enable: View ā Open View ā Bootspring
File Decorations
Files show decorations for:
- š
CLAUDE.md- Context file - āļø
bootspring.config.js- Config file - š
.bootspring/- Data directory
Problems Panel
Bootspring integrates with the Problems panel:
Quality Issues
After running bootspring quality:
ā Warning: Missing type annotations (quality/types)
ā Warning: Console.log statements found (quality/logs)
ā Info: Consider extracting to component (quality/complexity)
Configuration Issues
ā Error: Invalid bootspring.config.js (configuration)
ā Warning: Outdated CLAUDE.md (context)
Output Channel
View Bootspring logs: View ā Output ā Bootspring
Log levels:
[INFO]- General information[DEBUG]- Detailed debugging[ERROR]- Errors and issues
Configure logging:
Workspace Configuration
Multi-Root Workspaces
Bootspring works with multi-root workspaces:
Per-Folder Settings
.vscode/settings.json in each folder:
GitHub Copilot Integration
Use Bootspring context with Copilot:
Context Sharing
CLAUDE.md provides context that Copilot can read:
Copilot sees this context and adapts suggestions.
Complementary Usage
- Copilot - Quick inline completions
- Bootspring Agents - Complex architecture decisions
- Bootspring Skills - Production patterns
Debugging Integration
Debug Context Generation
Launch configuration in .vscode/launch.json:
Remote Development
Remote - SSH
Bootspring works over SSH:
- Connect to remote
- Install Bootspring on remote:
npm install -g bootspring - Extension syncs automatically
Dev Containers
.devcontainer/devcontainer.json:
GitHub Codespaces
Works automatically in Codespaces:
Troubleshooting
Extension Not Loading
- Check VS Code version (1.80.0+)
- Reload window:
Ctrl+Shift+Pā "Reload Window" - Check extension output for errors
Commands Not Working
Context Not Generating
- Check config file exists
- Verify permissions
- Check output channel for errors
Status Bar Missing
Performance Issues
Recommended Extensions
Complementary extensions:
| Extension | Purpose |
|---|---|
| ESLint | Code quality |
| Prettier | Formatting |
| GitLens | Git integration |
| Error Lens | Inline errors |
| TODO Highlight | Todo tracking |
Install together:
Uninstalling
Remove Extension
- Open Extensions (
Ctrl+Shift+X) - Find "Bootspring"
- Click "Uninstall"
Or via command line:
Clean Settings
Remove Bootspring settings from:
- User settings:
~/.config/Code/User/settings.json - Workspace settings:
.vscode/settings.json