Skip to content

Instantly share code, notes, and snippets.

@danielrosehill
Created April 29, 2025 03:03
Show Gist options
  • Select an option

  • Save danielrosehill/758788773038b54123c41ed6ba8c6488 to your computer and use it in GitHub Desktop.

Select an option

Save danielrosehill/758788773038b54123c41ed6ba8c6488 to your computer and use it in GitHub Desktop.
VS Code Voice Dictation Toggle Commands

VS Code Voice Dictation Toggle Setup

Visual Studio Code does not have a single toggle command for dictation.
You must simulate it using two commands and when conditions.

Commands:

  • Start Dictation:
    • workbench.action.editorDictation.start
  • Stop Dictation:
    • workbench.action.editorDictation.stop

Example Keybindings

[
  {
    "key": "ctrl+alt+v",
    "command": "workbench.action.editorDictation.start",
    "when": "!speechToTextInProgress"
  },
  {
    "key": "ctrl+alt+v",
    "command": "workbench.action.editorDictation.stop",
    "when": "speechToTextInProgress"
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment