Bug Buzz
Overview
Bug Buzz plays a sound when terminal commands fail, when a terminal command exits with a non-zero code, and when diagnostics report new errors.
Features
- Status bar toggle for enabling or disabling sound
- Command palette commands for test sound and shell execution with sound-on-error
- Plays sound on terminal shell execution failures when shell integration is active
- Plays sound on VS Code task failures and diagnostic errors
- Configurable sound file and event sources
Installation
- Clone the repository:
git clone https://github.com/yourusername/vscode-terminal-sound.git
- Navigate to the project directory:
cd vscode-terminal-sound
- Install dependencies:
npm install
- Compile the extension:
npm run compile
Usage
- Open the Command Palette and run
Bug Buzz: Test Sound to verify playback.
- Run
Bug Buzz: Run Shell Command with Sound on Error to execute a shell command in a terminal with built-in error detection.
- Click the status bar item to toggle sound on and off.
- Open settings and configure the extension under
Bug Buzz.
Settings
Add or update these settings in your user or workspace settings:
{
"bahanSoundOnError.enable": true,
"bahanSoundOnError.soundFile": "hatt-thari-bahan.mp3",
"bahanSoundOnError.playOnTaskFailure": true,
"bahanSoundOnError.playOnTerminalFailure": true,
"bahanSoundOnError.playOnDiagnostics": true
}
Deployment
- Install
vsce globally:
npm install -g vsce
- Create or sign in to your VS Code Marketplace publisher account.
- Package the extension:
vsce package
- Publish the extension:
vsce publish
Contributing
Contributions are welcome. Open an issue or submit a pull request with improvements.
| |