ValcyValcy

How to Talk to Claude Code in VS Code Instead of Typing Every Prompt

Half the time when Claude Code misses something, it isn't the AI's fault, we just wrote a lazy ten-word prompt because typing out every edge case got annoying. Speaking fixes that.

5 min read · Updated November 2026

The short answer

Open Claude Code inside your VS Code terminal (Control + `), click right into the prompt line, and trigger your dictation shortcut. Speak all the file names, edge cases, and test checks you have in mind, review the typed text, and hit Enter.
  • Click directly into the Claude Code terminal input line in VS Code.
  • Explain the task, affected files, and edge cases out loud in 30 seconds instead of writing a vague two-line prompt.
  • If you use built-in Mac Dictation and nothing types into the terminal, uncheck Secure Keyboard Entry or grant terminal permissions.
  • Use a menu-bar tool that doesn't pop over your editor so your terminal prompt stays active.

1. Open Claude Code in the VS Code terminal

Open your project in VS Code and press Control + Backtick (or Cmd + J) to pull up the bottom terminal panel.

Start Claude Code by typing claude. Once you see the blinking input line waiting for your instructions, make sure your cursor is sitting right there.

2. Say the whole thought, not a shortcut prompt

When we type, we cut corners. Instead of explaining what should happen on an error or where the token helper lives, we type "fix login refresh bug" and then waste ten minutes cleaning up guesses.

Because talking takes almost zero effort, you can just explain it the way you'd tell a teammate sitting next to you: "Look at the auth route handler. Check why the refresh token fails when the cookie expires, return a 401 with a clear message if it's missing, and add a quick unit test for that case."

3. Keep your cursor inside VS Code while speaking

Some voice tools pop open their own floating window every time you press a shortcut. Inside VS Code's integrated terminal, losing window focus kicks your cursor out of the prompt or makes you click back in before pasting.

Built-in Mac dictation (F5 or Fn twice) types straight at the cursor for short sentences, though it stops listening after about 40 seconds or if you pause to look at another file. A menu-bar tool like Valcy lets you look through your code while talking and leaves your cursor untouched.

4. Glance over package names, then hit Enter

Once your words land inside the Claude prompt, take three seconds to glance at any custom variable names or library names before hitting Return.

Remember that voice tools type your prompt without pressing Enter automatically, so nothing runs in the terminal until you review it.

5. Use the same shortcut for Git commits and PR notes

Once Claude finishes editing and your tests pass, don't fall back to writing lazy fix bug commit messages.

Keep your cursor in the terminal after git commit -m " and just say one clear sentence describing why you made the change. Your future self (and your teammates reviewing PRs) will actually appreciate it.

Common problems and quick fixes

Pressing my dictation key does nothing inside VS Code's terminal

First check System Settings > Privacy & Security > Microphone and make sure Visual Studio Code (or Terminal / iTerm2 if running outside VS Code) is allowed.

If you run Claude inside Mac Terminal or iTerm2 directly, check the top menu bar under Terminal (or iTerm2) and make sure Secure Keyboard Entry is unchecked.

Dictation pastes weirdly or triggers weird terminal shortcuts

Make sure your dictation shortcut doesn't clash with a VS Code shortcut like Cmd + Shift + P or Control + Space.

Double-tapping Option or Right Command almost never clashes with editor shortcuts.

Voice typing cuts off while I'm reading a file to describe what's wrong

Apple's built-in dictation closes quickly whenever you pause to scroll or read code. Use a continuous dictation app like Valcy when you want to read through two files while explaining a fix out loud.

Common questions

Should I dictate actual code brackets and semicolons?

Usually no, saying "open curly brace camelCase const" out loud is exhausting.

Voice shines for explaining what you want Claude Code or Cursor to build, describing bugs, writing comments, and speaking commit messages. Let the AI or your hands write syntax.

Does this work in Cursor Composer and GitHub Copilot Chat too?

Yes. Anywhere you have a blinking text cursor in VS Code, Cursor (Cmd + I), Terminal, iTerm2, or Warp works the exact same way.

Does speaking prompts leak private company code?

When you use Valcy's Local Mode (or on-device Apple dictation on newer M1-M4 Macs), your speech is processed directly on your Mac with zero network uploads.

In Valcy's Cloud Mode, audio is processed in real time and deleted immediately with nothing saved.

How do I start a new line in the terminal prompt without submitting early?

Dictation drops words where the cursor sits without hitting Return for you. To add extra lines manually in most AI CLI tools, use Shift + Enter.

Speak whole specs to Claude Code without leaving VS Code

Speak naturally in any app, offline on Mac or via private Cloud Mode on Mac and iPhone.