Terminal Dictation Controls
See when terminal dictation is active—even inside a full-screen terminal app.
Adds a microphone button and a distinct red stop button to VS Code's Terminal
toolbar and terminal editor tabs. Useful when dictating prompts into OpenCode,
Claude Code, or other terminal applications where the inline microphone can be
hidden by the terminal's alternate screen.
| State |
Toolbar control |
Click to |
| Inactive |
Microphone |
Start terminal dictation |
| Dictation session active |
Red stop square |
Stop and insert the transcript |
Requirements
- VS Code desktop 1.132 or newer.
- Working VS Code terminal dictation: first try Voice: Start Dictation in
Terminal in the Command Palette and complete any model download or microphone
permission prompts.
This extension adds controls to VS Code's existing dictation. It does not include
a speech-recognition engine or require its own API key. See
VS Code's voice documentation
for engine availability and setup.
Install and use
Search for Terminal Dictation Controls by mucsi96 in Extensions, or install
the .vsix from GitHub Releases
using Extensions → … → Install from VSIX….
- Open the Terminal panel or a terminal editor tab.
- Click the microphone and speak.
- The toolbar changes to a red stop square while the session is active.
- Click stop to insert the transcript. Review it before pressing Enter.
Existing native dictation shortcuts and Command Palette actions update the
indicator too. The status bar can stay hidden. In Remote - SSH, WSL, and Dev
Container windows, the extension runs on the local desktop UI host.
Optional keyboard shortcut
No keys are assigned automatically. To use Ctrl+Alt+Space for start/stop,
merge these entries into Preferences: Open Keyboard Shortcuts (JSON):
[
{
"key": "ctrl+alt+space",
"command": "workbench.action.terminal.startVoice",
"when": "terminalFocus && !terminalDictationInProgress"
},
{
"key": "ctrl+alt+space",
"command": "workbench.action.terminal.stopVoice",
"when": "terminalDictationInProgress"
}
]
If the shortcut reaches the terminal application instead of VS Code, merge these
entries into User Settings (JSON), preserving existing entries:
{
"terminal.integrated.commandsToSkipShell": [
"workbench.action.terminal.startVoice",
"workbench.action.terminal.stopVoice"
]
}
Keep terminal.integrated.sendKeybindingsToShell at its default false.
You can choose another key combination without changing the toolbar behavior.
State, privacy, and limitations
- Buttons use VS Code's
terminalDictationInProgress context directly. There is
no separate recording flag to get out of sync with automatic stops or failures.
- Active means a dictation session, including model preparation and final
transcription. It is not an audio-level meter or proof that speech is audible.
- This extension makes no network requests, captures no audio, and sends no
telemetry. VS Code's chosen dictation engine has its own processing settings.
- No runtime dependencies, workspace edits, or changes to your keyboard settings.
- A narrow toolbar can move actions into its … menu; widen it if needed.
- Supported on desktop VS Code; browser-only VS Code is not supported.
- The native dictation context and commands are implementation details of VS
Code and may change. Report compatibility problems with your VS Code version.
VS Code also offers built-in Start/Stop Dictation toolbar actions, hidden by
default. This extension makes the controls visible by default and adds an
explicit red stop icon for a more noticeable active state.
Development
Requires Node.js 22 or newer.
npm ci
npm test
npm run package
To run a development window:
code --extensionDevelopmentPath="$PWD"
Manual checks before release:
- Test start/stop by toolbar, native Command Palette commands, and shortcut.
- Confirm the indicator updates in both the Terminal panel and terminal editor.
- Confirm the red stop button stays outside a full-screen terminal application.
- Test in a Remote - SSH window with local microphone access.
- Check automatic stop, microphone failure, and terminal closure.
Publishing setup is documented in PUBLISHING.md.
Support and license
Report a bug or request a feature.
Include your VS Code version, operating system, local/remote setup, and how you
started dictation.
MIT.