Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Faaaaaah! Error SoundNew to Visual Studio Code? Get it now.
Faaaaaah! Error Sound

Faaaaaah! Error Sound

abulazam

|
44 installs
| (0) | Free
Because compiler errors deserve a reaction.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Error Sound - Faaaaaah 🔊

A fun VS Code extension that plays a "Faaaaaah" sound effect whenever you open a file containing diagnostic errors. Never miss an error again!


Features

  • 🔴 Automatic error detection — Monitors vscode.languages.getDiagnostics() for Error-severity issues.
  • 🔊 Audio feedback — Plays a short sound clip via a hidden Webview panel.
  • ⏱️ Cooldown — Prevents sound spam with a configurable cooldown (default: 5 seconds).
  • 📄 Per-file deduplication — Sound plays only once per file open, not repeatedly while editing.
  • ⚡ Async-safe — Handles diagnostics that arrive slightly after a file is opened.
  • 👻 Invisible — No UI panels are shown to the user; the Webview auto-disposes after playback.

How It Works

  1. When you open or switch to a file, the extension checks its diagnostics.
  2. If the file has at least one Error-severity diagnostic, the extension plays media/faaaaaah.mp3.
  3. The audio is played through a temporary, invisible Webview panel that self-destructs after playback.
  4. The same file won't trigger the sound again until you close and reopen it.
  5. A cooldown timer prevents rapid-fire playback across multiple files.

Extension Settings

Setting Type Default Description
errorSound.enabled boolean true Enable or disable the error sound effect.
errorSound.cooldownMs number 5000 Minimum cooldown (ms) between consecutive sounds.

Access these via Settings → search for "Error Sound".


Installation & Testing (Local Development)

Prerequisites

  • Node.js (v18+)
  • Visual Studio Code (v1.85+)

Steps

# 1. Clone / open the extension folder
cd /path/to/error-sound-faaaaaah

# 2. Install dependencies
npm install

# 3. Compile TypeScript
npm run compile

# 4. Open the folder in VS Code
code .
  1. Press F5 to launch the Extension Development Host.
  2. Open any file that has TypeScript / JavaScript errors.
  3. Listen for the "Faaaaaah" sound! 🎉

Replacing the Sound File

The extension ships with a placeholder MP3. Replace media/faaaaaah.mp3 with your own short audio clip (1–2 seconds recommended).


Packaging for Marketplace

# Install vsce globally
npm install -g @vscode/vsce

# Package the extension
vsce package

# This produces a .vsix file you can install or publish

Known Limitations

  • The Webview panel briefly flashes in the sidebar before auto-closing. This is a limitation of the VS Code API — there is no way to create a completely headless audio player.
  • Autoplay may be blocked in certain VS Code configurations (rare).
  • The extension plays audio only for Error-severity diagnostics, not warnings or info.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft