💡 Recommended to use with Switch2IDEA in Cursor
A JetBrains IDE plugin that enhances development efficiency by enabling seamless switching between JetBrains IDE and Cursor
-
🚀 Seamless Editor Switching
- One-click switch between JetBrains IDE and Cursor
- Automatically positions to the same cursor location (line and column)
- Perfectly maintains editing context without interrupting workflow
-
⌨️ Convenient Shortcut Support
- macOS:
Option+Shift+P
- Open project in CursorOption+Shift+O
- Open current file in Cursor
- Windows:
Alt+Shift+P
- Open project in CursorAlt+Shift+O
- Open current file in Cursor
- macOS:
-
🔧 Multiple Access Methods
- Keyboard shortcuts
- Editor context menu
- IDE tools menu
- Open IDE →
Settings
→Plugins
→Marketplace
- Search for switch2cursor
- Click
Install
to complete installation - Click
OK
to apply changes
- Download the latest plugin package from JetBrains Marketplace
- IDE →
Settings
→Plugins
→⚙️
→Install Plugin from Disk...
- Select the downloaded plugin package
- Click
OK
to apply changes
- Shortcuts:
- macOS:
Option+Shift+P
- Windows:
Alt+Shift+P
- macOS:
- Context Menu: Right-click in project view →
Open Project In Cursor
- Tools Menu:
Tools
→Open Project In Cursor
- Shortcuts:
- macOS:
Option+Shift+O
- Windows:
Alt+Shift+O
- macOS:
- Context Menu: Right-click in editor →
Open File In Cursor
- Tools Menu:
Tools
→Open File In Cursor
- In
Settings/Preferences
→Tools
→Switch2Cursor
:- Set Cursor executable path (default is "cursor")
- Customize shortcuts through Keymap settings
- Cursor installed
- Compatible with all JetBrains IDEs (version 2022.3 and above)
# Clone repository
git clone https://github.com/qczone/switch2cursor.git
# Build plugin
cd switch2cursor
./gradlew buildPlugin
# Plugin package will be generated in build/distributions/ directory
- Fork this repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Submit a Pull Request
Check if the correct Cursor executable path is configured in Settings
→ Tools
→ Switch2Cursor
Supports all JetBrains IDEs, including: IntelliJ IDEA, PyCharm, WebStorm, GoLand, RustRover, Android Studio, etc.
The plugin is developed based on JDK 17 and currently only supports JetBrains IDE version 2022.3 and above
Modify in Settings
→ Keymap
→ Plugins
→ Switch2Cursor
This project is licensed under the MIT License
If you encounter any issues or have suggestions, please provide feedback through: