FAAAH WHEN YOUR CODE FAILS TO RUN- BY SALMAN FARSI
Are you tired of bugs quietly slipping by? Do you want to feel every compile error, stack trace, and failed test deeply in your bones?
This extension plays the infamous FAAAH sound effect every time your code fails to run.
Features
Works with ANY Language: Python, JavaScript, node, C++, Rust, you name it.
Catches Terminal Errors: Automatically intercepts and detects errors produced in your active terminal.
Smart Run-Button Integration: Hijacks VS Code "Play" buttons (like the popular Code Runner or Python extensions) so they automatically use the FAAAH-enabled shell.
Task Integration: If you build your project with VS Code Tasks (Ctrl+Shift+B) and the compile step fails, it lets you know instantly.
Cooldown Filter: Automatically groups simultaneous errors together so it doesn't blow out your speakers.
How it Works
When you activate the extension or hit the run button, it will modify the terminal instance to automatically pass the run command through a custom error hook. If LASTEXITCODE is non-zero (or $? returns a failure), the sound plays!
Usage
Just install it and forget it. The extension automatically loads when VS Code starts up.
Open a script
Write a typo
Click "Run"
FAAAH!
If you want to test the sound manually, you can open the Command Palette (Ctrl+Shift+P) and type Fail Sound-FAAAH: Test Sound.
Created by Salman Farsi to make debugging more... emotional.