P# 🔊 Error Sound — MalikMistakeHoGyi
A fun and useful VS Code extension that plays a custom sound whenever a terminal command exits with an error (non-zero exit code).
Never miss a failed command again — your terminal will literally cry out! 😄
✨ Features
- 🎵 Auto-plays
error.mp3 when any terminal command fails
- ⚡ Shell integration exit code detection (primary method)
- 🔁 Fallback keyword-based terminal output scanning
- 🛡️ Debounced to avoid repeated sounds for the same error burst
- 🧪 Manual test command to verify sound is working
📦 Installation
- Open VS Code
- Press
Ctrl+Shift+P
- Type:
Extensions: Install from VSIX...
- Select the downloaded
.vsix file
- Restart VS Code — Done! ✅
🚀 Usage
Install the extension and it activates automatically.
Run any failing command in the terminal to hear the error sound:
cd /nonexistent-folder # This will fail → sound plays!
🧪 Manual Test
Open the command palette (Ctrl+Shift+P) and run:
ErrorSound: Test Sound 🔊
This will play the sound immediately so you can confirm it's working.
⚙️ Requirements
- VS Code version
1.85.0 or higher
- Terminal shell integration enabled (default in modern VS Code)
🐛 Known Issues
- Sound may not play if VS Code is muted or system volume is off
- Shell integration must be enabled for exit code detection
📝 Release Notes
0.0.4
- Improved reliability of error detection
- Debounce added to prevent sound spam
0.0.1
Made with ❤️ by Somesh Sisodia
| |