Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Voice on ErrorNew to Visual Studio Code? Get it now.
Voice on Error

Voice on Error

AkshayTheC

|
3 installs
| (0) | Free
Plays a custom audio clip whenever a terminal command fails
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Voice on Error

Automatically plays a custom audio clip whenever a terminal command fails (non-zero exit code).

Setup

  1. Install the extension
  2. Open Command Palette (Cmd+Shift+P) → "Voice on Error: Set Audio File"
  3. Pick any .mp3, .wav, or .m4a file
  4. That's it! Any failing terminal command will now play your audio clip.

Commands

Command Description
Voice on Error: Set Audio File Choose your audio file
Voice on Error: Test Sound Play the sound to test it

Requirements

  • macOS (uses afplay for audio playback)
  • VS Code 1.93+ with shell integration enabled

How It Works

The extension listens for terminal shell execution events. When a command exits with a non-zero code, it plays your configured audio file.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft