BahunkoKhasii plays audio feedback when errors or warnings occur in your VS Code workspace diagnostics with volume and configurable Sound Delay control.
Features
🔊 Audio Notifications: Plays error alert sounds automatically when compiler or linter errors are detected in your editor.
⚡ Immediate Detection: Errors are detected instantly when reported by VS Code diagnostics.
⏳ Sound Delay: Configure time between error detection and playback (Options: 0 ms — Instant up to 5 seconds).
🎚️ Volume Control: Adjust audio volume from 0 (muted) to 100 (maximum).
⚙️ Configurable Triggers: Choose whether to play on Errors, Warnings, or both.
🌐 Cross-Platform: Supports Windows, macOS, and Linux out-of-the-box.
📁 Custom Sound Support: Use the built-in sound or specify your own .mp3 / .wav audio file.
Commands
BahunkoKhasii: Test Sound (bahunkokhasii.playSound): Plays test sound immediately without applying Sound Delay.
BahunkoKhasii: Toggle Monitoring (bahunkokhasii.toggleSound): Quickly enables or disables audio monitoring.
BahunkoKhasii: Hello World (bahunkokhasii.helloWorld): Tests extension responsiveness and sound playback.
Settings
This extension contributes the following settings in VS Code (Settings -> BahunkoKhasii):
Setting
Default
Description
bahunkokhasii.enabled
true
Enable or disable audio error notifications monitoring.
bahunkokhasii.volume
100
Playback volume level from 0 (muted) to 100 (maximum).
bahunkokhasii.soundDelay
0
Delay in ms (0 ms — Instant, 20 ms, 50 ms, 100 ms, 150 ms, 200 ms, 300 ms, 500 ms, 1s, 2s, 3s, 5s).
bahunkokhasii.soundPath
""
Custom path to an audio file. If left empty, default sound is used.
bahunkokhasii.playOnErrors
true
Play audio alert when error diagnostics are reported.
bahunkokhasii.playOnWarnings
false
Play audio alert when warning diagnostics are reported.
Sound Delay Options
0 — 0 ms — Instant (Default)
20 — 20 ms
50 — 50 ms
100 — 100 ms
150 — 150 ms
200 — 200 ms
300 — 300 ms
500 — 500 ms
1000 — 1 second
2000 — 2 seconds
3000 — 3 seconds
5000 — 5 seconds
Development & Testing
# Compile TypeScript
npm run compile
# Run ESLint check
npm run lint
# Run Automated Test Suite
npm run test
# Package VSIX Extension
npm run package