Brother Ewww Sound Extension 🔊

Plays a hilarious "Brother Ewww" sound ONLY when something fails in VS Code!
🎯 When Does It Play?
The sound plays ONLY on errors and failures:
❌ Your code throws an error
❌ Your build fails
❌ Your task exits with non-zero code
❌ Diagnostics detect red squiggles
✅ Success = Silent! No sound on successful operations.
Features
- 🔊 Terminal failures only - When commands exit with non-zero code
- 🔊 Task failures only - When VS Code tasks fail
- 🔊 Diagnostics errors only - When new errors appear (red squiggles)
- ⚙️ Configurable - Enable/disable and adjust cooldown
- 🎮 Lightweight - No dependencies, pure JavaScript
- 🔇 Smart detection - Only plays on NEW errors, not every keystroke
Requirements
- VS Code 1.75.0 or higher
- A sense of humor 😄
Extension Settings
This extension contributes the following settings:
brother.enable: Enable/disable the Brother Ewww sound (default: true)
brother.cooldown: Cooldown between sounds in milliseconds (default: 2000)
Usage
- Install the extension
- IMPORTANT: Add your
eww-brother-eww.mp3 file to the media/ folder of the extension
- The extension activates automatically
- Try failing a command:
exit 1 in terminal
- Hear the glorious sound! 🎵
Testing the Extension
Test Terminal Failure
Open a terminal and run:
exit 1
Test with Invalid Command
npm install @vscode/vsce
Test Diagnostic Error
Create a JavaScript file with a syntax error:
const x = ;
Configuration
Access settings via: File → Preferences → Settings → Search "Brother Ewww"
Disable the extension:
"brother.enable": false
Change cooldown to 5 seconds:
"brother.cooldown": 5000
Known Issues
- On Linux, requires
mpg123 to be installed: sudo apt install mpg123
- Sound may not play if VS Code is muted or system volume is off
- Diagnostic error detection may trigger on every keystroke while typing errors
Release Notes
0.0.1
Initial release of Brother Ewww Sound Extension
- Terminal failure detection
- Task failure detection
- Diagnostic error detection
- Configurable enable/disable and cooldown
Development
To work on this extension:
Clone the repository:
git clone https://github.com/sajjadhossain67/brother-eww.git
Run npm install
Press F5 to open Extension Development Host
Test in the new window
Contributing
Pull requests welcome! Add more sound effects, improve detection logic, or add new features.
Repository: https://github.com/sajjadhossain67/brother-eww.git
Links
👤 Author
Sajjad Hossain
License
MIT
Enjoy making your errors more entertaining! 🎉