Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ERROR CLAPNew to Visual Studio Code? Get it now.
ERROR CLAP

ERROR CLAP

Jenish Patel

|
3 installs
| (0) | Free
A hilarious VS Code extension that makes a clapping cat react whenever your terminal commands fail.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ERROR CLAP

Your code failed. The cat approves.

ERROR CLAP is a lightweight VS Code extension that listens to VS Code's official terminal shell-integration completion events. When a command ends with a non-zero exit code, it presents the supplied assets/meme.mp4 clapping-cat meme in a small dark webview.

Features

  • Detects completed terminal commands through onDidEndTerminalShellExecution.
  • Plays the bundled MP4 without reading, uploading, or parsing terminal output.
  • Cooldown protection, ignored command patterns, and configurable display time.
  • Status bar toggle and Command Palette commands for testing and troubleshooting.
  • Optional local synthesized applause sound; no external network requests.

Development

npm install
npm run compile
npm test
npx vsce package --allow-missing-repository

Press F5 in VS Code to launch an Extension Development Host. Run a failing command in its integrated terminal, or use ERROR CLAP: Test Applause from the Command Palette.

The packaged asset is assets/meme.mp4. To replace it, keep the filename and MP4 format, or update the resource path in src/webview/catPanel.ts. The current supplied video is 480×480 and approximately 1.6 seconds long. The Marketplace icon at assets/icon.png is a 128×128 frame derived from that supplied video.

Shell integration

The extension needs a VS Code version and integrated shell that provide shell integration. If it is unavailable, ERROR CLAP shows a warning and does not pretend it can detect every terminal failure. Exit codes that are undefined are ignored safely.

Settings

All settings are available under Settings → Extensions → ERROR CLAP:

  • errorClap.enabled — master switch, default true.
  • errorClap.animationEnabled — show the MP4, default true.
  • errorClap.soundEnabled — play local synthesized applause, default false.
  • errorClap.cooldownSeconds — default 3.
  • errorClap.displayDuration — default 6 seconds.
  • errorClap.presentationMode — panel or notification.
  • errorClap.minimumExitCode — default 1.
  • errorClap.ignoreCommands — command fragments or * globs to skip.
  • errorClap.ignoreShellIntegrationUnavailable — suppress the compatibility warning.

Commands

  • ERROR CLAP: Toggle
  • ERROR CLAP: Test Applause
  • ERROR CLAP: Show Last Failure
  • ERROR CLAP: Reset Cooldown

Privacy and limitations

Everything runs locally. ERROR CLAP does not execute commands, modify terminals, inspect terminal output, or send data to a server. VS Code's shell integration may not be available in every remote or customized shell session. The standard webview presentation opens beside the current editor and uses preserveFocus; VS Code controls the exact layout.

Marketplace preparation

The package is configured for publisher ID JenishPatel and includes assets/icon.png. No repository URL is declared because this workspace does not have a Git remote; add the public repository URL to package.json when one exists. Install locally with Extensions: Install from VSIX.... Publish only after signing in with vsce login JenishPatel and reviewing the generated package.

License

MIT. See the included LICENSE file.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft