Terminal Error Sound 🔊
Never miss a terminal error again! This VS Code extension plays a sound ("faah!") whenever a command in your terminal fails or outputs an error.
Features
- Automatic Error Detection — Detects errors from many languages: JavaScript, Python, C/C++, Java, Rust, Go, shell, and more.
- Exit Code Monitoring — Uses VS Code Shell Integration to detect non-zero exit codes (most reliable method).
- Output Scanning — Scans terminal output text for common error patterns as a fallback.
- Debounced — Won't spam you with sounds; plays at most once every 2 seconds.
- Toggle On/Off — Click the status bar icon or use the command palette.
- Cross-Platform — Works on Windows, macOS, and Linux.
Commands
| Command |
Description |
Terminal Error Sound: Toggle On/Off |
Enable or disable the error sound |
Terminal Error Sound: Test Sound |
Play the sound to test your audio setup |
Status Bar
Look for the 🔊 Error Sound indicator in the bottom-right status bar. Click it to toggle the extension on/off.
Supported Error Patterns
The extension detects errors from:
- JavaScript/TypeScript/Node.js —
SyntaxError, TypeError, ReferenceError, npm ERR!, etc.
- Python —
ImportError, NameError, ValueError, Traceback, etc.
- C/C++/Rust/Go —
fatal error, undefined reference, segmentation fault, panic, etc.
- Java/C# —
NullPointerException, ClassNotFoundException, etc.
- Shell —
command not found, Permission denied, No such file or directory, etc.
- General — Non-zero exit codes,
error:, failed, exception, etc.
Requirements
- VS Code 1.85.0 or later
- Audio playback support on your OS:
- Windows: Built-in (uses PowerShell
SoundPlayer)
- macOS: Built-in (
afplay)
- Linux: Requires
aplay, paplay, mpv, or ffplay
Installation
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X)
- Search for "Terminal Error Sound"
- Click Install
Custom Sound
The extension ships with a built-in "faah" sound. The sound file is located at media/faah.mp3 inside the extension folder.
License
MIT
| |