Opening VS Code Workspace Files with Cursor on macOS
I switched from VS Code to Cursor for daily development. One small hiccup on macOS: .code-workspace files didn’t open in Cursor by default. Here’s the fix I use.
Why Cursor?
Cursor is a VS Code fork with AI-native workflows (inline edits, composer, chat). The transition is smooth because extensions and settings largely carry over.
The macOS Workspace Issue
By default, .code-workspace files were still associated with VS Code instead of Cursor.
How to Make Cursor the Default for Workspace Files
Set Cursor as the default application for .code-workspace files:
- Locate a
.code-workspacefile in Finder. - Right-click → Get Info.
- In “Open with:”, choose “Other…”.
- Set “Enable” to “All Applications”.(1)
- Pick Cursor and click “Add”.
- Click “Change All…” to apply globally.
- Change “Enable” to “All Applications”.
