Welcome to Error Sound, a fun and productive extension for Visual Studio Code that helps you notice coding errors immediately!
Gone are the days of staring at the Problems panel. With Error Sound, you not only get instant audio feedback but also entertaining Hindi dialogues when you make a mistake (and when you fix it!).
Features
Audio Notifications: Plays sounds for Errors, Warnings, and Success (all clear!).
Funny Hindi Dialogues: Over 300 unique, original, family-friendly Hindi dialogues that pop up when you run into issues. They are tailored to the type of error you made (Syntax, Type, Reference, etc.).
Status Bar Integration: Quickly see your current Error and Warning counts right in the Status Bar.
Highly Customizable: Disable/enable dialogues, sounds, notifications, adjust volume, and use custom sound themes.
Extension Settings
This extension contributes the following settings:
errorSound.dialogues.enabled: Enable or disable funny Hindi dialogues on errors.
errorSound.sound.enabled: Enable or disable sound notifications.
errorSound.notifications.enabled: Enable or disable popup notifications for dialogues.
errorSound.notifications.duration: Duration (in ms) to show the notification. 0 means it won't auto-dismiss.
errorSound.sound.theme: Choose the sound theme. Select Custom to use custom paths.
errorSound.sound.volume: Volume level for the sounds (0.0 to 1.0).
errorSound.sound.customPaths.error: Absolute path to a custom .wav or .mp3 file for Errors.
errorSound.sound.customPaths.warning: Absolute path to a custom .wav or .mp3 file for Warnings.
errorSound.sound.customPaths.success: Absolute path to a custom .wav or .mp3 file for Success/All clear.
Sounds Directory Setup (Important!)
If you are using the Default theme, make sure to place the following audio files inside the sounds/ directory at the root of the extension folder:
error.wav
warning.wav
success.wav
Alternatively, you can switch to the Custom theme and provide absolute paths to your audio files in the settings.
Commands
Error Sound: Test Funny Dialogue: Run this command from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) to test the sound and dialogue system manually.
Known Issues
Sound playback relies on the system's default media player capabilities (via sound-play). Volume controls may not work universally across all operating systems.
Release Notes
1.0.0
Complete rewrite for a production-ready extension.
Added 300+ funny Hindi dialogues categorized by error type.
Added Settings for volume, themes, custom sounds, and notifications.
Added a Status Bar item for error counts.
Enjoy coding, and don't let those bugs get you down!