Terminal Hype Lines plays anime-inspired hype-line sound effects when VS Code terminal commands start, succeed, fail, or emit warnings.
日本語
Terminal Hype Lines は、VS Code のターミナルコマンドにあわせて、アニメの決め台詞っぽいハイプ感のある効果音を鳴らす拡張機能です。
- コマンド開始時、成功時、警告検出時、失敗時に音を鳴らします
mode1とmode_jujutsuのサウンドモードを切り替えられますmode_jujutsuではコマンド開始時のstart.mp3も再生します- 短いコマンドで開始音の直後に終了しても、成功/警告/失敗の結果音が続けて鳴るようにしています
- コマンドパレットからモード切り替えや各音のテスト、ON/OFF切り替えができます
What it does
- Watches terminal command completion through VS Code Terminal Shell Integration
- Plays start sounds for modes that define
startSoundFile - Plays result sounds for success, warning, and error outcomes
- Lets you switch between named sound modes from the command palette
- Keeps result sounds from being suppressed when a command finishes immediately after a start sound
- Detects common terminal failure patterns from output text:
- command not found
- permission denied
- syntax error
- runtime exception
- test failure
- build failure
- package manager error
- git command failure
Requirements
This extension depends on VS Code Terminal Shell Integration.
If Shell Integration is disabled or unsupported by the current shell, the extension may not receive command-level events or exit codes.
Commands
Use these commands from the command palette:
Terminal Hype Lines: Select Sound ModeTerminal Hype Lines: Switch to Next Sound ModeTerminal Hype Lines: Use Mode mode1Terminal Hype Lines: Use Mode mode_jujutsuTerminal Hype Lines: Test Start SoundTerminal Hype Lines: Test Error SoundTerminal Hype Lines: Test Warning SoundTerminal Hype Lines: Test Success SoundTerminal Hype Lines: Toggle All SoundsTerminal Hype Lines: Toggle Start SoundTerminal Hype Lines: Toggle Success SoundTerminal Hype Lines: Toggle Warning Sound
Settings
| Setting | Default | Description |
|---|---|---|
terminalHypeLines.enabled |
true |
Enable the extension |
terminalHypeLines.playOnStart |
true |
Play a start sound when the current mode defines one |
terminalHypeLines.playOnSuccess |
true |
Play a sound for successful commands |
terminalHypeLines.includeWarnings |
true |
Play a sound for warning-only output |
terminalHypeLines.treatUnknownExitCodeAsError |
false |
Treat undefined exit code as an error |
terminalHypeLines.showNotification |
false |
Show notification when an issue is detected |
terminalHypeLines.startSoundFile |
empty | Fallback start sound file under media/ |
terminalHypeLines.errorSoundFile |
error.mp3 |
Fallback error sound file under media/ |
terminalHypeLines.warningSoundFile |
warning.mp3 |
Fallback warning sound file under media/ |
terminalHypeLines.successSoundFile |
warning.mp3 |
Fallback success sound file under media/ |
terminalHypeLines.soundMode |
default |
Active sound mode |
terminalHypeLines.soundModes |
object | Named sound mode definitions |
terminalHypeLines.cooldownMs |
800 |
Minimum interval between sounds |
terminalHypeLines.maxOutputChars |
60000 |
Maximum output kept per command |
terminalHypeLines.ignoredCommands |
[] |
Command substrings to ignore |
Sound modes
Current bundled modes:
{
"terminalHypeLines.soundMode": "mode1",
"terminalHypeLines.soundModes": {
"mode1": {
"errorSoundFile": "mode1/error.mp3",
"warningSoundFile": "mode1/warning.mp3",
"successSoundFile": "mode1/success.mp3"
},
"mode_jujutsu": {
"startSoundFile": "mode_jujutsu/start.mp3",
"errorSoundFile": "mode_jujutsu/error.mp3",
"warningSoundFile": "mode_jujutsu/warn.mp3",
"successSoundFile": "mode_jujutsu/success.mp3"
}
}
}
Add more folders under media/ and point terminalHypeLines.soundModes at those files when you want more modes.
Development
npm install
npm run compile
npm run lint
Open this folder in VS Code and press F5.
Packaging
vsce package
License
MIT