March 10, 20263 min read

    Voice Dictation for VS Code — Setup, Workflow & Productivity Tips

    VS Code is the most popular code editor in the world. But it has no built-in voice dictation — and Apple's Dictation butchers code syntax. Here's how to set up proper voice-to-text for VS Code on Mac.

    The Problem with Built-In Dictation#

    Warning

    If you try using macOS Dictation in VS Code, you'll hit these issues immediately: autocorrection ruins code (getUserName becomes "Get user name"), no symbol support, no casing commands, and your code gets sent to Apple's servers.

    Whisperer solves all of these with offline, Code Mode-aware dictation.

    Setting Up Whisperer for VS Code#

    1

    Install Whisperer

    Download from the Mac App Store. The base app is free.

    2

    Grant Permissions

    Whisperer needs Microphone (to record), Accessibility (to insert text), and Input Monitoring (for the Fn key shortcut).

    3

    Create a VS Code Profile

    Open settings and create a per-app profile for VS Code with Code Mode enabled.

    4

    Choose Your Model

    The balanced model offers good accuracy for technical terms without significant latency.

    Daily Workflow#

    Dictating Code#

    You say

    "function camel case calculate total open paren items colon array close paren colon number open brace"

    OutputTypeScript
    function calculateTotal(items: array): number {

    Dictating Comments#

    You say

    "slash slash to do refactor this to handle edge case when user is not authenticated"

    OutputComment
    // TODO refactor this to handle edge case when user is not authenticated

    Dictating Git Commit Messages#

    Open the VS Code Source Control panel, focus the commit message input, and speak:

    You say

    Fix authentication timeout by increasing session duration to thirty minutes

    OutputCommit Message
    Fix authentication timeout by increasing session duration to thirty minutes

    Dictating Terminal Commands#

    You say

    "git checkout dash b feature slash snake case add user auth"

    OutputTerminal
    git checkout -b feature/add_user_auth

    Productivity Tips#

    Streaming Preview

    Whisperer shows a live preview of your transcription as you speak. If something looks wrong, you can stop and re-record.

    Personal Dictionary

    Add project-specific names, libraries, and acronyms for better recognition.

    Start with Comments

    New to voice coding? Start by dictating comments — they're natural language with a minimal learning curve.

    Toggle Mode

    For longer blocks, press once to start, press again to stop. Better than holding Fn for multi-line dictation.

    Whisperer vs. Other VS Code Voice Tools#

    Info

    Some VS Code extensions offer voice input, but they typically require an internet connection, only work within VS Code, don't handle code syntax, and send your code to third-party servers. Whisperer is system-wide, fully offline, and has Code Mode specifically designed for programming syntax.

    Performance#

    On Apple Silicon Macs, Whisperer transcribes with near-zero latency. The balanced model processes speech in real-time with streaming output — you see text appearing as you speak, with a final refinement pass when you release the shortcut.

    Related: Voice Coding Guide, Code Mode, Voice Coding with Cursor, How to Dictate Code. See pricing and all features.

    Ready to try voice dictation on your Mac?

    Free download. No account required. 100% offline.

    Download on the Mac App Store

    Related articles

    Ready to ditch typing?

    Join developers and power users who dictate faster than they type. One-time purchase. No subscription. No cloud.

    Free trial included. Pro Pack $14.99 lifetime.