[ ]
Aaahhhhhh Sound on Terminal Error - VS Code Extension
A VS Code extension that plays an "aaahhhhhh" scream sound every time a command fails in the terminal.
Installing the Extension from VSIX
- Download the
.vsix file for this extension.
- Open Visual Studio Code.
- Go to the Extensions view (
Ctrl+Shift+X).
- Click the three-dot menu in the top right and select
Install from VSIX....
- Select the downloaded
.vsix file and follow the prompts.
Features
Requirements
- VS Code 1.93 or later
- Linux:
ffplay (from ffmpeg), paplay (PulseAudio), or aplay (ALSA)
- macOS:
afplay (built-in)
- Windows: PowerShell (built-in)
Commands
| Command |
Description |
Aaahhhhhh Sound: Toggle Error Sound |
Enable/disable the sound |
Aaahhhhhh Sound: Test Sound |
Play the sound to test it |
Settings
| Setting |
Default |
Description |
aaahhhhhSoundError.enabled |
true |
Enable/disable the sound |
aaahhhhhSoundError.volume |
0.5 |
Volume level (0.0 to 1.0) |
Installation (Development)
- Clone/download this folder
- Run
chmod +x launch-vscode-aaahhhhhh.sh
- Run
./launch-vscode-aaahhhhhh.sh
- A new VS Code window will open with the extension loaded
- Open a terminal and run a failing command (e.g.,
ls nonexistent) to hear the sound
Installation (Production)
Install the .vsix file
- Open VS Code.
- Press
Ctrl+Shift+P and search for Extensions: Install from VSIX....
- Select the
aaahhhhhh-sound-error-1.0.0.vsix file from this folder.
- Reload VS Code if prompted.
Or use the command line:
code --install-extension aaahhhhhh-sound-error-1.0.0.vsix
Linux
- For best results, install at least one of these tools:
- The extension will try all three automatically.
macOS
- No setup needed.
afplay is built-in and used by the extension.
Windows
- No setup needed. PowerShell is used to play the sound.
How to package
npm install -g @vscode/vsce
vsce package
This will create a .vsix file you can install in VS Code.
| |