VS Code extension: Space (voice:pushToTalk) doesn't trigger mic recording in chat webview, only clicking the mic icon works

Status Open
Maintainer reply None cached
Activity 0 comments · opened Aug 9, 2026

Environment: Claude Code VS Code native extension, macOS 26.5.2

Config: ~/.claude/settings.json has "voice": {"enabled": true, "mode": "tap"}. No custom ~/.claude/keybindings.json.

Expected: Per the voice-dictation docs, voice:pushToTalk (default Space) should start/stop recording in tap mode.

Actual: Clicking the mic icon in the bottom-right of the chat input box works correctly (recording starts/stops, transcribes fine). Pressing/holding Space with the same input focused does nothing except insert a literal space character — same as normal typing. Also tried typing /voice tap as a chat message, which returned "/voice isn't available in this environment".

Suspected cause: The chat panel is a webview-rendered textarea; Space is likely being consumed as a normal keystroke before Claude Code's key interceptor (which works via key-repeat detection in the CLI terminal) ever sees it.

Repro: Enable voice in settings, focus the VS Code extension's chat input, press Space. Compare to clicking the mic icon, which works.

View original on GitHub ↗