Kajal Bhammar
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 (.wav or .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
F5 in 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
.vsix file will be created in the project root.
| |