Voice Input for IntelliJ and JetBrains AI on Mac
By Kiran Jd
Published
By Kiran Jd
Published
To dictate a prompt into IntelliJ IDEA on Mac, open the AI Chat tool window, click the chat input, dictate with your Speakmac shortcut, and read the text before pressing Enter. If the text does not land in the field, use Copy Last Transcript in Speakmac and paste it. Apple Dictation is worth one test, but JetBrains' own issue tracker has open reports of it duplicating or dropping text in AI chat fields.
IntelliJ IDEA is JetBrains' IDE; the same steps apply to PyCharm, WebStorm, GoLand and the other IntelliJ-based IDEs. The prompt field belongs to JetBrains AI Assistant, which hosts plain Chat plus agents: Junie (JetBrains' own coding agent), Claude Agent, Codex, and any agent you add through the Agent Client Protocol. The newer Air in IDEs plugin is a separate surface, covered at the end.
Click AI Chat on the right toolbar. The input sits at the bottom of the tool window, with the chat mode selector, model selector, Add attachment and Send around it. JetBrains documents that the window opens with an agent selected by default, so check the selector before you start: Chat answers and suggests, while an agent such as Junie can edit files and run commands.
Enter sends; Shift+Enter adds a new line. That matters for voice, because a dictated paragraph should stay in the field until you have read it.
Sometimes, but it is the least reliable route. JetBrains' YouTrack has several open reports:
If Apple Dictation works in your version, use it. If it duplicates text, stop rather than editing around it; the paste route below is cleaner.
@ and attach the exact files, symbols or local changes, correct any identifiers, then press Enter.Speakmac's shortcut lives in Speakmac, not the IDE keymap. Avoid a binding that JetBrains already uses, such as double Control; see shortcut help.
Speak the reasoning, then attach the evidence. For a bug:
CSV exports drop the last row when the result is an exact multiple of the page size. Find where the pagination loop stops, fix it without changing the public method signatures, add a test with exactly two full pages, and run the existing export tests.
Then type @ and attach the export service and its test file.
For something larger, ask Junie in Plan mode to stop before editing:
Plan only. I want to replace the hand-written retry loop in the payment client with our shared backoff helper. List the files you would change, any behaviour that changes, and the tests you would add. Wait for my approval.
These are example briefs, not claims that an agent completed them. Review the diff and run the checks yourself. Instructions you repeat every time belong in an AGENTS.md file for Junie or in AI Assistant project rules, not in every prompt.
| Speak the explanation | Type or attach the exact evidence |
|---|---|
| Expected versus actual behaviour | Stack traces and test output |
| Constraints and what must not change | @ mentions for files, symbols and commits |
| Why one approach beats another | Class names, paths and commands |
Do not dictate credentials or private customer data into a prompt. Speakmac transcribes on your Mac, but after you press Enter the selected model provider's policy applies. Speakmac's privacy page covers its own step only.
Click back into the chat input and try one short sentence. If Speakmac shows a transcript but nothing arrived, use Copy Last Transcript and paste with Cmd+V, or assign Paste Last Transcript to a shortcut. Both are described in History and recovery.
If no transcript was produced, check the microphone, model and Accessibility permission in the Help Center. That is a different failure from the IDE dropping input. We have not run a microphone-to-field test in every JetBrains IDE, so treat paste as the dependable route.
Partly. AI Assistant's AI Chat has no documented microphone button; the speech-to-text request JUNIE-796 is still open. Two newer JetBrains surfaces do:
/voice command that records from your microphone in the terminal.If you live in one of those, try the built-in option first. A system-wide app helps when you also want to dictate into the AI Assistant chat, commit messages, review comments, Slack and email, with the same shortcut, your custom words, and on-device transcription.
Try Speakmac for Mac, or compare the workflow with voice dictation for VS Code and voice prompting in Codex.