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.
- 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+
- Build the plugin:
./gradlew buildPlugin - Install from disk: IDE → Settings/Preferences → Plugins → ⚙️ → Install Plugin from Disk... → choose the zip from
build/distributions.
- 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
Settings/Preferences → Tools → Switch2CatPaw → set the CatPaw executable path. Shortcuts can be customized in Keymap settings.
The plugin relies on an absolute path, so please configure it explicitly:
- macOS
- CLI install: run
which catpawin Terminal (orls -l $(which catpaw)if it is a symlink) and use that path. - App bundle: right-click the CatPaw app → Show Package Contents →
Contents/MacOS/catpaw, then use that path.
- CLI install: run
- Windows
- In Command Prompt or PowerShell run
where catpawto locate the executable. - Alternatively, open the CatPaw installation folder (usually
C:\Users\<you>\AppData\Local\Programs\CatPawor the path you selected) and copycatpaw.exe.
- In Command Prompt or PowerShell run
After setting the path, reopen the actions if you keep a settings dialog open so the new value is picked up.
git clone https://github.com/Asxing/switch2catpaw.git
cd switch2catpaw
./gradlew buildPluginThis project is licensed under the MIT License
If you encounter issues or have suggestions, please open an issue: https://github.com/Asxing/switch2catpaw/issues