Skip to content

A JetBrains IDE plugin that enables smooth switching between JetBrains IDE and Cursor, with automatic cursor position sync. Features keyboard shortcuts, context menu integration, and tools menu access. Supports all JetBrains IDEs.

License

Notifications You must be signed in to change notification settings

Asxing/switch2vscode

 
 

Repository files navigation

Switch2CatPaw

中文文档

A JetBrains IDE plugin that opens the current file or entire project in CatPaw while keeping the caret position.

Inspired by and grateful to qczone/switch2cursor.

🌟 Features

  • Open current file in CatPaw at the same line/column (Option/Alt+Shift+O)
  • Open the current project in CatPaw (Option/Alt+Shift+P)
  • Entry points: shortcuts, editor/project context menus, and Tools menu
  • Configurable CatPaw executable path
  • Works with JetBrains IDEs 2022.3+

🛠️ Installation

  1. Build the plugin: ./gradlew buildPlugin
  2. Install from disk: IDE → Settings/Preferences → Plugins → ⚙️ → Install Plugin from Disk... → choose the zip from build/distributions.

🚀 Usage

  • Open project: Option/Alt+Shift+P, Project view context menu → Open Project In CatPaw, or Tools → Open Project In CatPaw
  • Open current file: Option/Alt+Shift+O, editor context menu → Open File In CatPaw, or Tools → Open File In CatPaw

⚙️ Configuration

Settings/Preferences → Tools → Switch2CatPaw → set the CatPaw executable path. Shortcuts can be customized in Keymap settings.

Finding the CatPaw executable

The plugin relies on an absolute path, so please configure it explicitly:

  • macOS
    • CLI install: run which catpaw in Terminal (or ls -l $(which catpaw) if it is a symlink) and use that path.
    • App bundle: right-click the CatPaw app → Show Package ContentsContents/MacOS/catpaw, then use that path.
  • Windows
    • In Command Prompt or PowerShell run where catpaw to locate the executable.
    • Alternatively, open the CatPaw installation folder (usually C:\Users\<you>\AppData\Local\Programs\CatPaw or the path you selected) and copy catpaw.exe.

After setting the path, reopen the actions if you keep a settings dialog open so the new value is picked up.

🧑‍💻 Development

git clone https://github.com/Asxing/switch2catpaw.git
cd switch2catpaw
./gradlew buildPlugin

📄 License

This project is licensed under the MIT License

📮 Feedback

If you encounter issues or have suggestions, please open an issue: https://github.com/Asxing/switch2catpaw/issues

About

A JetBrains IDE plugin that enables smooth switching between JetBrains IDE and Cursor, with automatic cursor position sync. Features keyboard shortcuts, context menu integration, and tools menu access. Supports all JetBrains IDEs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 100.0%