Music Companion - VS Code Extension
Adaptive background music for coding that adjusts to your productivity patterns.
Features
- Adaptive Music: Automatically adjusts music mood based on your coding activity
- Multiple Moods: Focus, Energy, Calm, and Ambient music modes
- Activity Tracking: Monitors typing patterns, file switches, and errors
- Status Bar Integration: Quick access to music controls
- Keyboard Shortcuts:
Cmd/Ctrl + Shift + M to toggle music
Installation
- Open VS Code
- Press
Ctrl+Shift+P (or Cmd+Shift+P on Mac)
- Type "Extensions: Install from VSIX"
- Select the generated
.vsix file
Development
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes
npm run watch
Usage
- The extension automatically starts when VS Code opens
- Music mood adapts based on your coding patterns:
- High activity → Energy/Focus mood
- Errors detected → Calm mood
- Low activity → Ambient mood
- Use
Cmd/Ctrl + Shift + M to toggle music
- Click the status bar item for quick controls
Requirements
- VS Code 1.74.0 or higher
- Internet connection for music streaming
- Chrome/Chromium browser (automatically managed by Puppeteer)
Known Issues
- First startup may take longer due to Chromium download
- Music services may require manual login on first use
| |