Voice Coding on Mac: VS Code + Murmur Setup Guide
Set up voice-to-text coding in VS Code on macOS with Murmur. Dictate code, comments, and AI prompts hands-free.
TL;DR
Enable hands-free coding: 1) Install Murmur (5 min), 2) Install GitHub Copilot in VS Code, 3) Press Cmd+Space to dictate requirements, 4) Use Copilot Chat to ask AI to code. You're done. Reduce typing by 50-60% while coding in VS Code on macOS.
Why Voice Coding in VS Code?
The Problem VS Code Developers Face
- 8+ hours of typing daily — Leading to RSI and fatigue
- Detailed AI prompts are tedious to type — Copilot Chat requires long, specific prompts
- Context switching — Stopping to think and type breaks flow
- Repetitive comments and documentation — Boilerplate text wastes time
The Voice Coding Solution
Voice dictation + Copilot Chat = Hands-free development:
✓ Speak requirements naturally — Copilot understands conversational prompts better ✓ Faster feature development — AI codes while you review ✓ Reduced typing — 50-60% less keyboard usage ✓ Better focus — Describe what you want, let AI handle syntax ✓ Health benefits — Fewer wrist and hand issues
Prerequisites
Before starting, ensure you have:
- macOS 10.14+ (Intel or Apple Silicon)
- VS Code installed — Free from code.visualstudio.com
- GitHub account — Free, used for Copilot authentication
- USB headset (optional but recommended) — Blue Yeti, Audio-Technica, Plantronics
Step 1: Install Murmur (5 minutes)
Download
- Visit murmur.ai
- Click "Download for macOS"
- File saves to Downloads folder
Install
- Open Downloads folder
- Double-click
Murmur.dmg - Drag Murmur to Applications folder
- Launch Murmur
- Grant microphone + accessibility permissions
Configure
- Click Murmur in menu bar
- Open Preferences (Cmd+,)
- Go to "Keyboard Shortcuts"
- Confirm Cmd+Space is set (or customize)
- Go to "Audio" and test your microphone
Done. Murmur is ready to dictate in any app, including VS Code.
See detailed installation guide for troubleshooting.
Step 2: Install GitHub Copilot in VS Code (5 minutes)
GitHub Copilot is the AI engine that codes for you. Murmur feeds it voice input.
Install Copilot Extension
- Open VS Code
- Go to Extensions (Cmd+Shift+X)
- Search for "GitHub Copilot"
- Click "Install" (by GitHub)
- Reload VS Code (Cmd+R)
Authenticate with GitHub
- VS Code prompts for GitHub login
- Click "Sign in with GitHub"
- Browser opens, sign in with your GitHub account
- Authorize VS Code access
- Done — You're authenticated
Verify Installation
- Open any code file (create a test.js if needed)
- Copilot suggests code as you type
- Press Tab to accept a suggestion
- You should see: Copilot inline completions
If Copilot isn't suggesting code, check:
- You're signed in (Account icon bottom-left)
- Copilot is enabled (Command Palette > "Copilot: Toggle")
Step 3: Open Copilot Chat
Copilot Chat is where voice coding magic happens. You'll dictate requirements here and AI generates code.
Enable Copilot Chat
- Open VS Code
- Go to Extensions (Cmd+Shift+X)
- Search for "GitHub Copilot Chat"
- Click "Install" (by GitHub)
- Reload VS Code
Open Chat Panel
Option A: Keyboard shortcut
- Press Cmd+Shift+I — Opens Copilot Chat panel
Option B: Click icon
- Look for chat icon in sidebar (left panel)
- Or: View > Chat
You should see:
- Chat input field at bottom
- Conversation area above
- Ready for questions
Step 4: Your First Voice Coding Session
Now you have everything set up. Time to code with your voice.
Simple Example: React Component
The old way (keyboard):
1. Type: "Create a React component..."
2. Wait for autocomplete/copilot
3. Accept suggestions
4. Type manually for complex parts
5. Time: 10 minutes
The voice way (with Murmur + Copilot Chat):
1. Click in Copilot Chat input
2. Press Cmd+Space (Murmur activates)
3. Say: "Create a React component that displays a todo list with add and delete buttons"
4. Release Cmd+Space (text appears in chat)
5. Press Enter (Copilot generates code)
6. Review code
7. Time: 1 minute
Real Workflow: Build a Feature with Voice
Scenario: You want to build a user profile page component.
Step 1: Open Copilot Chat
Press Cmd+Shift+I to open the chat panel.
Step 2: Dictate Requirements
- Click in the chat input field
- Press Cmd+Space (Murmur activates)
- Speak: "Create a React component called UserProfile that takes a user prop and displays their name, email, avatar, and a bio. Style it with Tailwind CSS and add loading and error states."
- Release Cmd+Space
What you said: 45 seconds of speaking What you typed: 0 keystrokes
Step 3: Copilot Generates
Press Enter in the chat. Copilot generates:
export const UserProfile = ({ user, loading, error }) => {
if (loading) return <div className="animate-pulse">Loading...</div>;
if (error) return <div className="text-red-500">Error: {error}</div>;
return (
<div className="max-w-md mx-auto p-6 bg-white rounded-lg shadow">
<img src={user.avatar} alt={user.name} className="w-16 h-16 rounded-full" />
<h2 className="text-2xl font-bold mt-4">{user.name}</h2>
<p className="text-gray-600">{user.email}</p>
<p className="mt-4 text-gray-700">{user.bio}</p>
</div>
);
};Step 4: Iterate by Voice
Want to improve the component? Dictate more refinements:
- Press Cmd+Space again
- Say: "Add a button to edit the user profile and one to follow the user"
- Release Cmd+Space, press Enter
- Copilot updates the component
No typing required.
Step 5: Accept and Use
- Copilot shows the updated code
- Copy the code (Cmd+C)
- Paste into your component file
- Done
Total time: 3 minutes vs. 20 minutes of manual coding
Advanced Workflow: Full Feature with Voice
Example: Building a Todo App
What you want: Full todo app with add, delete, complete functionality.
The voice approach:
1. [Cmd+Space] "Create a React todo app component. It should display a list of todos, each with name and completion status. Add inputs for creating new todos and buttons for delete and toggle complete."
[Copilot generates complete Todo component]
2. [Cmd+Space] "The todos should be stored in state using useState. Add a useEffect that loads todos from localStorage on mount."
[Copilot adds state management and localStorage]
3. [Cmd+Space] "Add a button to clear all completed todos. Style it with Tailwind and add a count of remaining todos."
[Copilot refines the UI]
4. Done. Full functioning app built entirely by voice.
Comparison:
| Approach | Time | Typing |
|---|---|---|
| Manual typing | 45 min | Extensive |
| Voice + Copilot | 10 min | 0 keystrokes |
| Savings | 35 min | 99% less |
Ready to try voice coding?
Try Murmur free for 7 days with all Pro features. Start dictating in any app.
Download for freePro Tips for Voice Coding in VS Code
Tip 1: Be Descriptive, Not Prescriptive
Bad (prescriptive): "Create a function that iterates through an array using forEach..."
Good (descriptive): "Create a function that processes an array of user objects and returns their names sorted alphabetically"
AI is better at understanding what you want, not how to code it.
Tip 2: Include Context in Your Prompt
Add framework, language, and pattern context:
Good: "Create a React component using hooks that fetches data from an API endpoint"
Better: "Create a React component using useState and useEffect that fetches user data from /api/users and displays it in a table with loading and error states"
More context = better code generation.
Tip 3: Use Separate Prompts for Complex Features
Instead of one giant prompt:
❌ Don't: "Create a complete authentication system with login, signup, password reset, email verification, and two-factor..."
✓ Do:
- "Create a login form component"
- "Add password validation logic"
- "Create a signup form"
- "Add password reset email flow"
Multiple prompts = better results.
Tip 4: Spell Out Technical Terms
When dictating unusual variable names or domain-specific terms:
"Create a function called L-O-A-D underscore state underscore from underscore cache"
This prevents transcription errors on uncommon words.
Tip 5: Review AI-Generated Code
Always review code before accepting it:
- Is it correct? (Test it)
- Does it match your intent?
- Are there security issues?
- Is it efficient?
AI-generated code is usually excellent, but spot-checking is good practice.
Tip 6: Use Voice for Comments and Documentation
// [Cmd+Space]
// Say: "Function that validates email addresses using regex and returns true if valid"
// [Release]
function validateEmail(email) {
const regex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
return regex.test(email);
}Voice is perfect for:
- Function documentation
- Inline comments
- Docstrings
- README updates
Tip 7: Combine Voice and Keyboard Strategically
Use voice for:
- Long prompts to Copilot Chat
- Detailed comments and documentation
- Feature descriptions
- Requirements and specifications
Use keyboard for:
- Quick edits (remove extra line, fix typo)
- Debugging and testing
- Precise modifications
- Quick variable name changes
Example workflow:
1. [Voice] Dictate feature to Copilot → AI codes
2. [Keyboard] Review code, make small edits
3. [Voice] Dictate refinement → AI improves
4. [Keyboard] Final tweaks and tests
Keyboard Shortcuts for Voice Coding in VS Code
Essential Shortcuts
| Action | Shortcut | Use |
|---|---|---|
| Murmur activate | Cmd+Space | Dictate requirements to Copilot Chat |
| Open Copilot Chat | Cmd+Shift+I | Open chat panel |
| Submit chat | Enter | Send prompt to Copilot |
| Open file explorer | Cmd+B | Navigate files |
| Quick open | Cmd+P | Jump to file |
| Terminal | Ctrl+` | Open integrated terminal |
| Format code | Shift+Option+F | Auto-format code |
| Comment/uncomment | Cmd+/ | Toggle comment |
Voice Coding Workflow Shortcuts
WORKFLOW:
1. [Cmd+Shift+I] Open Copilot Chat
2. [Cmd+Space] Start Murmur dictation
[Speak requirement]
[Release Cmd+Space]
3. [Enter] Submit to Copilot
4. [Review code] Read the generated code
5. [Cmd+C] Copy code to clipboard
6. [Cmd+P] Quick open file
7. [Cmd+V] Paste code into file
8. [Repeat] More features, more voice
Troubleshooting Common Issues
Issue: Murmur Cmd+Space Conflicts with Spotlight
Solution:
- System Preferences > Keyboard > Shortcuts
- Spotlight > Uncheck "Show Spotlight search"
- Or change Murmur shortcut to Cmd+Shift+Space
Issue: Copilot Chat Not Appearing
Solution:
- Command Palette (Cmd+Shift+P)
- Type "Copilot Chat: Focus Chat"
- Or install "GitHub Copilot Chat" extension
Issue: Copilot Not Suggesting Code
Solution:
- Check sign-in: Account icon (bottom-left) should show you're authenticated
- Enable Copilot: Command Palette > "Copilot: Toggle"
- Reload VS Code (Cmd+R)
Issue: Poor Microphone Quality
Solution:
- Test in Murmur settings (Murmur > Preferences > Audio)
- Move microphone 6-12 inches from mouth
- Use a better headset (USB headset recommended)
- Minimize background noise
Daily Voice Coding Schedule
Morning (30 minutes)
- Open VS Code
- Open Copilot Chat (Cmd+Shift+I)
- [Cmd+Space] Describe first feature
- [Enter] Copilot codes
- Review and integrate code
Midday (4 hours)
- Use voice for complex features, documentation
- Use keyboard for testing, debugging, small edits
- Alternate between voice prompts and code review
Afternoon (2 hours)
- Document code by voice
- Create comments explaining complex logic
- Write README updates using voice
Evening (30 minutes)
- Write commit messages by voice
- Document tomorrow's tasks by voice
- Stop coding and rest your hands
Result: 50-60% less typing, same or better productivity
Integration with GitHub
Commit Messages by Voice
git add .
# [Cmd+Space]
# Say: "Add user profile component with loading and error states"
# [Release]
git commit -m "Add user profile component with loading and error states"Pull Request Descriptions by Voice
- Create PR on GitHub
- Click "Write description"
- [Cmd+Space] Dictate description
- [Release] Text appears
- Submit PR
No typing required for documentation.
Extending Voice Coding
Copilot in Terminal
You can even use voice in VS Code's integrated terminal:
# [Cmd+Space]
# Say: "List all JavaScript files in the src directory"
# [Release]
ls src/*.js
# Run whatever command you dictatedVoice Code Review
Review PRs by voice:
- Open PR in VS Code
- Click "Comment" button
- [Cmd+Space] Dictate feedback
- [Release] Comment appears
- Submit review
Best Practices for Voice Coding on Mac
Do
✓ Use descriptive, natural language prompts ✓ Break complex features into multiple voice prompts ✓ Review AI-generated code before accepting ✓ Document your voice prompts (they become git history) ✓ Take breaks (voice fatigue is real) ✓ Use a good quality USB headset ✓ Combine voice and keyboard strategically
Don't
✗ Try to dictate exact syntax (let AI handle it) ✗ Use one giant prompt for complex features ✗ Blindly accept all AI suggestions (always review) ✗ Dictate continuously (take 5-minute breaks) ✗ Dictate while tired (accuracy suffers) ✗ Use poor quality built-in mics (USB headsets are worth it)
Conclusion: Voice-First Development in VS Code
With Murmur + Copilot Chat in VS Code on macOS, you can:
✓ Code entirely hands-free ✓ Reduce typing by 50-60% ✓ Let AI handle syntax while you focus on logic ✓ Protect your hands from RSI ✓ Improve code quality through natural language prompts ✓ Develop faster with less fatigue
Getting started is simple:
- Download Murmur (5 min)
- Install Copilot + Copilot Chat (5 min)
- Press Cmd+Space and start dictating (immediate)
You're now ready for voice-first development in VS Code.
Ready to code with your voice? Download Murmur today and set up voice coding in VS Code. Your hands will thank you.
Related articles:
Ready to try voice coding?
Try Murmur free for 7 days with all Pro features. Start dictating in any app.
Download for freeRelated Articles
voice coding
How to Dictate Code with Murmur: Complete Guide
Learn how to use voice typing for coding. Dictate prompts to Cursor, Claude Code, and VS Code with Murmur.
voice coding
Voice Typing for Mac Developers: Murmur Tutorial
Use voice dictation for coding on macOS. Dictate prompts to Claude Code, Cursor, VS Code from your Mac.
voice coding
Setting Up Voice Coding in VS Code: Step-by-Step
Complete tutorial for setting up voice coding in VS Code. Install, configure, and start dictating code in minutes.