← All Integrations

Voice Typing in VS Code

Dictate code comments, documentation, commit messages, and prose-heavy files inside Visual Studio Code. Steno works wherever your cursor is on macOS.

Why Developers Use Voice Typing in VS Code

Software development isn't just writing code. A significant portion of a developer's day involves writing in natural language: code comments explaining complex logic, documentation strings, README files, pull request descriptions, commit messages, and messages to teammates. These tasks don't require syntax precision — they require expressing ideas clearly and quickly.

That's where voice typing shines. With Steno, you can dictate all the prose-heavy parts of your development workflow while keeping your hands on the keyboard for actual code. This hybrid approach is how many developers use voice-to-text daily, and it can save hours each week.

Voice typing also helps reduce the physical strain of marathon coding sessions. If you're spending 8+ hours a day at a keyboard, offloading even 30% of your keystrokes to voice can meaningfully reduce your RSI risk.

How to Set Up Steno for VS Code

1 Install Steno on your Mac

Download Steno from stenofast.com. It installs in 30 seconds and lives in your menu bar. No VS Code extension needed — Steno works at the system level.

2 Place your cursor in VS Code

Open VS Code and click where you want text to appear. This could be the code editor, the integrated terminal, the Source Control commit message input, the search bar, or any extension's text field.

3 Hold your hotkey, speak, release

Hold the Steno hotkey (default: Right Option), speak your text naturally, and release. The transcribed text appears at your cursor position within a second.

VS Code Workflows You Can Voice Type

Write Code Comments by Voice

Type the comment prefix (// or #), then hold your hotkey and explain the logic. Steno transcribes your explanation with proper punctuation and capitalization. This is particularly effective for documenting complex algorithms, explaining business logic, or leaving TODO notes for your future self. You can explain your reasoning in natural speech far faster than you can type it out.

Dictate Documentation Strings

Writing JSDoc, docstrings, or Javadoc comments is tedious when done by keyboard. With voice typing, you can dictate function descriptions, parameter explanations, and return value documentation at speaking speed. Place your cursor inside the doc comment block, hold the hotkey, and describe the function's behavior naturally.

Compose Git Commit Messages

Click on the Source Control panel's commit message input in VS Code, hold your hotkey, and describe your changes. Steno turns your spoken description into a clean, well-punctuated commit message. No more cryptic one-word commits when a more descriptive message would help your team. You can also dictate commit messages in the integrated terminal while using git from the command line.

Write README and Markdown Files

README files, project documentation, and markdown notes are pure prose. Voice typing lets you draft these documents at 130+ WPM instead of the typical 40 to 60 WPM of keyboard typing. Open a .md file in VS Code, place your cursor, and start dictating. Use voice commands to add "new line" breaks as you structure your content.

Search and Replace by Voice

Open VS Code's search panel (Cmd+Shift+F) and dictate your search query. This is especially handy when searching for function names, variable names, or error messages that you remember hearing in a code review but don't want to type out character by character.

Pro Tips for Voice Typing in VS Code

Use the Right Option key as your hotkey. Since most VS Code shortcuts use Cmd, Ctrl, or Shift, the Right Option key stays out of the way of your coding workflow. You can remap the hotkey in Steno's settings if needed.
Dictate first, format later. When writing documentation or comments, dictate the entire block of text first, then go back and add markdown formatting, code references, or indentation. This keeps your speaking flow uninterrupted.
Combine with VS Code snippets. Use Steno for natural language text and VS Code's built-in snippets for code templates. This hybrid approach maximizes speed for both code and prose.

Voice type in the debug console. When debugging, you can voice type expressions into the debug console's input field. This saves time when you need to evaluate complex expressions during a debugging session.

Frequently Asked Questions

Can I use voice typing in VS Code on Mac?

Yes. Steno works system-wide on macOS, including inside VS Code. You can voice type into any text area — the editor, terminal panel, search bar, Source Control commit messages, and more. No VS Code extension is required.

Is voice typing useful for programming?

Voice typing is especially useful for writing code comments, documentation strings, README files, commit messages, and any prose-heavy development task. For actual code syntax, a hybrid approach of typing code and dictating comments and docs works best.

Does Steno work in VS Code's integrated terminal?

Yes. Click on the VS Code integrated terminal panel and hold your Steno hotkey to dictate shell commands, git commit messages, or any terminal input. It works exactly the same as in any other text field.

Start Voice Typing in VS Code

Download Steno for free and write comments, docs, and commits faster than ever.

Download Steno Free