Fahh 🔊Plays the "Fahh" meme sound automatically whenever code you run or debug in VS Code errors out. No configuration required — install it and it just works. 1. InstallPick whichever matches how you got the extension. Option A — from the Marketplace
Option B — from a
|
| Setting | Type | Default | Description |
|---|---|---|---|
fahh.enabled |
boolean |
true |
Master on/off switch. Also toggled by the Fahh: Toggle Enabled command. |
fahh.soundPath |
string |
"" |
Absolute path to a custom audio file. Leave empty to use the bundled fahh.mp3. |
fahh.cooldownMs |
number |
1500 |
Minimum milliseconds between plays, so a burst of errors doesn't spam the sound. |
Using a custom sound
- Open Settings (
Cmd+,/Ctrl+,) and search forfahh.soundPath. - Enter the absolute path to your own audio file (e.g.
/Users/you/Sounds/my-sound.mp3orC:\Sounds\my-sound.mp3). - Run
Fahh: Test Soundagain to confirm it picks up the new file.
5. Commands
Available from the Command Palette (Cmd+Shift+P / Ctrl+Shift+P):
| Command | What it does |
|---|---|
Fahh: Test Sound |
Plays the sound immediately, ignoring the cooldown. Use this to sanity-check your setup. |
Fahh: Toggle Enabled |
Turns Fahh on/off without opening Settings. |
6. Troubleshooting
No sound at all, even from Fahh: Test Sound:
- Check
fahh.enabledistruein Settings. - If you set
fahh.soundPath, make sure the path is correct, absolute, and points to an existing audio file — a typo here fails silently into a warning notification, not a sound. - Check for a warning notification in the bottom-right corner right after
running
Fahh: Test Sound. It will tell you exactly what went wrong (missing file vs. no audio player found). - Check your system volume and that VS Code isn't muted.
- Linux only: playback shells out to whatever CLI audio player is
installed (
mpg123,mpg321,aplay,paplay,cvlc, ...). On a minimal Linux install none of these may be present. Install one, e.g.:
macOS (sudo apt install mpg123afplay) and Windows (bundled PowerShell/WPF playback) don't need anything installed — they should always work out of the box.
Fahh: Test Sound works, but it never plays on an actual error:
- Confirm you're triggering one of the two supported cases from How it detects errors — a failing terminal command/task, or a failing Run and Debug (F5) session. A red squiggle from the linter alone won't trigger it.
- For the terminal case, make sure shell integration is enabled (default in recent VS Code) and that you're using a supported shell (zsh, bash, fish, PowerShell).
- Check you're not inside the
fahh.cooldownMswindow (default 1500ms) from a previous play — rapid repeated errors are intentionally throttled.
Still stuck: open the Output panel, select "Extension Host" from the
dropdown, and look for anything mentioning fahh — that will show the
underlying error.
7. Uninstall / disable
- Temporarily disable: run
Fahh: Toggle Enabled, or setfahh.enabledtofalse. - Uninstall: open the Extensions view, find Fahh, click the gear icon, and choose Uninstall.
8. Building from source
git clone <this repository>
cd fahh-sound-extension
npm install
npm run compile
Then press F5 in VS Code to launch an Extension Development Host with
Fahh loaded, or package it yourself:
npx vsce package
License
MIT