Dictation in VS Code on a Mac

VS Code can listen, through Microsoft's VS Code Speech: hold Cmd+I to talk to Copilot Chat, or dictate into the editor. Outside those two places, it can't.

Dictation by appUpdated 2 min read

Voice options in VS Code

NameVS Code SpeechmacOS DictationSpeakey
Types into the appChat and editorYes, in any text fieldYes, wherever the cursor is
Where speech is turned into textOn your computerOn the Mac or on Apple's servers, depending on the languageOn your Mac; works offline
PriceFreeFree extensionFreeFree, built inFreePaid once2,000 words a week free, Pro $4.99 once
Languages26Many, not every language or regionAbout 99, mixed in one sentence

VS Code's voice support

Microsoft's VS Code Speech extension (`ms-vscode.vscode-speech`) adds two things. In Copilot Chat, hold Cmd+I, speak, and let go to send. In the editor, Voice: Start Dictation in Editor (Cmd+Option+V) types what you say at the cursor. The extension processes audio locally, needs no internet, and lists 26 languages, chosen with `accessibility.voice.speechLanguage`.

VS Code's docs also describe a voice mode for chat and built-in dictation on platforms that support it. All of it lives inside VS Code.

Speakey in VS Code

  • Click wherever you want the words: the chat box, a comment, the commit message field, the integrated terminal.
  • Hold Right Option, say it, release.
  • For chat, check the prompt and press Enter yourself. Speakey types the prompt and leaves sending to you.

What to dictate, and what to type

  • Prose dictates well: prompts for Copilot, doc comments, commit messages, PR descriptions, README text.
  • Syntax doesn't. Speakey types words, not brackets or underscores, so write code with the keyboard and dictate around it.
  • Put your project's names in Vocabulary (class names, packages, internal tools) so prompts spell them right.
  • Long prompts? Say them loosely and hold Left Control instead: a Rewrite rule like "clear instructions" tidies them before they're typed.

Local either way

VS Code Speech and Speakey both turn speech into text on your machine. What you then send to Copilot goes to Copilot, the same as a typed prompt.

Questions

Does VS Code have voice input?

Yes, through VS Code Speech: Cmd+I in Copilot Chat and Cmd+Option+V for editor dictation, processed locally.

Can I dictate in the VS Code terminal?

VS Code Speech dictates into the editor and chat. A system-wide tool like Speakey types into the integrated terminal too.

Can I dictate code?

Dictation suits prompts, comments and commit messages. Code with symbols is faster to type.

Sources

Facts about other apps come from their own pages, checked when this page was updated. Prices and plans change, so check before you buy.

Mac only

Speakey is a Mac app.

It runs on Apple silicon with macOS 14 or later. Send the link to your email and open it on your Mac.

Download anyway