Plays an alert sound when terminal output contains an error pattern.
Features
- Detects terminal output errors using a configurable regex.
- Plays a sound with cooldown to avoid spam.
- Includes command:
Kajal Bhammar: Play Test Sound.
Settings
kajalBhammarTerminalAlert.enabled: Enable/disable sound playback.kajalBhammarTerminalAlert.pattern: Regex used to detect errors.kajalBhammarTerminalAlert.cooldownMs: Minimum delay between plays.kajalBhammarTerminalAlert.soundFilePath: Optional local audio file path (.wavor.mp3), absolute or workspace-relative.
Use only audio assets you have permission to use.
Run locally
- Install deps:
npm install - Compile:
npm run compile - Press
F5in VS Code to launch Extension Development Host. - Open a terminal in the host and run something that prints an error.
Build VSIX
- Install deps:
npm install - Build package:
npm run package:vsix - The
.vsixfile will be created in the project root.