Fav Meme Voice on Error
Fav Meme Voice on Error plays a short alert whenever a VS Code integrated terminal command emits common error output, shows common shell failures like not found, or writes red ANSI-colored text.
It uses the stable terminal shell integration APIs, which makes it suitable for Marketplace publishing.
Features
- Bundled default meme voice WAV shipped with the extension.
- Custom audio picker command for your own sound file.
- Error detection for common terminal failures plus red ANSI output.
- Warns when the current terminal shell cannot provide automatic error detection.
Commands
Fav Meme Voice on Error: Test Alert
Fav Meme Voice on Error: Select Custom Audio
Fav Meme Voice on Error: Clear Custom Audio
Settings
terminalErrorSound.enabled
terminalErrorSound.cooldownMs
terminalErrorSound.customAudioPath
Windows Shell Support
Automatic terminal error detection depends on VS Code shell integration.
- Supported on Windows:
Git Bash, PowerShell 7 (pwsh) with shell integration active.
- Not supported on Windows:
Command Prompt (cmd), Windows PowerShell (powershell.exe).
If Test Alert works but terminal errors do not, switch the integrated terminal to pwsh or Git Bash and open a new terminal.
Before publishing:
- Keep the Marketplace and GitHub metadata in
package.json up to date.
- Create a
VSCE_TOKEN secret before using the GitHub Actions publish workflow.
Development
"C:\Program Files\nodejs\npm.cmd" install
"C:\Program Files\nodejs\npm.cmd" run compile
Then press F5 in VS Code to launch the Extension Development Host.
Packaging
"C:\Program Files\nodejs\npm.cmd" run package
Publishing
Manual publish:
"C:\Program Files\nodejs\npm.cmd" run publish:vsce -- -p <VSCE_TOKEN>
GitHub Actions publish is included in .github/workflows/publish.yml. Add the VSCE_TOKEN secret before using it.
Notes
- Terminal monitoring depends on shell integration being active in the VS Code terminal.
- WAV is the most reliable format for custom sounds. MP3 and OGG may work depending on the local platform player.