Terminal Chime (VS Code Extension)
Play a sound when a VS Code integrated terminal command fails (non-zero exit code).
Features
- Detects failed commands from terminal shell integration events.
- Plays bundled
fahhhhh.mp3 by default.
- Supports custom sound file path.
- Includes command palette actions for testing and configuration.
- Cooldown and volume controls via settings.
Commands
Terminal Chime: Play Test Sound
Terminal Chime: Toggle Enabled
Terminal Chime: Select Sound File
Terminal Chime: Reset Sound File
Settings
terminalChime.enabled (true by default)
terminalChime.volume (0 to 100, default 80)
terminalChime.cooldownMs (default 150)
terminalChime.soundFile (absolute custom path; empty uses bundled MP3)
terminalChime.notifyOnUnsupportedShellIntegration (true by default)
Development
npm install
npm run compile
Run in Extension Development Host with F5 from VS Code.
Package / Publish
- Update
publisher in package.json with your real Marketplace publisher ID.
- Bump
version in package.json.
- Package:
npm run package
- Publish:
npm run publish
You need a Personal Access Token configured for vsce before publishing.
Notes
- Best results require terminal shell integration enabled in VS Code.
- Original PowerShell install scripts are still in this repo for legacy use, but publishing now targets the extension flow.
| |