Voice coding on a Mac: dictating to Claude Code, Cursor, VS Code and Terminal
Last updated: 30 November 2026
AI coding assistants changed what developers type. A large part of the day is no longer code but prose: prompts for Claude Code or Cursor, review comments, commit messages, issue descriptions, documentation. That prose is faster to say than to type — and it is exactly what voice dictation handles well. This guide shows how to set up dictation for development work on a Mac, and the habits that make it pay off.
Why prompts are the best thing to dictate
A good prompt is long, precise and full of context: what you are trying to do, what you already tried, which files matter, what to avoid. When typing is the bottleneck, prompts get short and the assistant guesses. When you can simply say it, you give the context, and the result improves.
The same goes for commit messages, pull-request descriptions and code comments: they are written for people, in sentences, so they dictate naturally.
Setting up NeoDicta for development
- Pick a hotkey you can reach without looking. Fn is the default; hold it, speak, release, and the text appears at your cursor. If Fn is taken, record any key or combination in Settings → Hotkeys, such as Right Option or F18. A double-tap mode lets you dictate long passages hands-free.
- Add your vocabulary to the dictionary. Project names, library names, acronyms and colleagues' names are spelled your way once you add them in Settings → Dictionary. Dictionary entries are stored on your Mac.
- Keep Paste Last Dictation in mind. If you dictated while focus was not in a text field, click into the field and press Control-Option-V (configurable): your last dictation is pasted again. It is kept in memory only, until you quit the app.
Where it works
NeoDicta types into any macOS app with a text field, because it uses the macOS Accessibility API with a clipboard fallback:
- Claude Code and other terminal tools: dictate the prompt straight into the terminal, including Ghostty and the built-in Terminal.
- Cursor and VS Code: dictate into the chat panel, a code comment or a docstring.
- Xcode: documentation comments and commit messages.
- Slack, Notion, Mail and GitHub in the browser: reviews, issues and replies.
Habits that make voice coding work
- Speak in full sentences, then edit. NeoDicta removes fillers and resolves self-corrections ("use the staging, no, the production database"), and adds punctuation, so a natural sentence comes out clean.
- Dictate the why, type the code. Symbols, brackets and indentation are still faster on the keyboard. Use your voice for the parts written in English (or French, German, Spanish… — 25 European languages are supported).
- Give the assistant the context you would give a colleague. Mention the file, the error message, the constraint. It costs a few seconds of speech instead of a minute of typing.
- Set your language when you mix languages. Auto-detect works for most people. If you write in French with English technical terms, choosing French as the Dictation Language in Settings → General steers the recogniser.
A typical session
Say you are fixing a failing test with Claude Code. You click into the terminal, hold Fn and say: "The login test fails since this morning's merge. Read the session middleware and the test fixture, explain why the token expires before the assertion, and propose the smallest fix, without changing the public API." You release the key; the sentence appears, punctuated, at the prompt. You press Return. Typing the same prompt takes most people well over a minute; saying it takes about fifteen seconds, and you are more likely to include the constraint at the end.
Later, you dictate the commit message the same way, then the pull-request description, then a reply to a reviewer in the browser. Each time the text lands in whichever app has focus.
When something does not appear
- Nothing was typed: focus was probably not in a text field. Click into the field and press Paste Last Dictation (Control-Option-V by default).
- The hotkey does nothing: check that NeoDicta has the Microphone, Accessibility and Input Monitoring permissions; the menu shows a warning and a setup button when one is missing.
- A word comes out wrong every time: add it to the dictionary, with the spelling you want.
Why local matters for code
Prompts and commit messages often describe unreleased features, customer issues or security fixes. With cloud dictation, every one of those sentences is sent to a third party before it even reaches your editor. NeoDicta recognises speech on your Mac with the Parakeet Ultra model running on the Neural Engine, so audio and text never leave the machine, and there is no telemetry. Details in Offline voice dictation on a Mac.
Requirements and price
A Mac with Apple Silicon (M1 or later) and macOS 14 or later, with about 2 GB of free disk space for the speech model. €19 before tax, paid once, for a lifetime licence on up to three Macs, after a free 7-day trial with no card.