# 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 .
Press F5 to launch the Extension Development Host.
Open any file that has TypeScript / JavaScript errors.
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.