Skip to Content
Terminal & IDE IntegrationsExternal Editors & IDEs

Open a Worktree in an IDE

WorktreeWise integrates with modern code editors and IDEs, allowing you to launch any worktree into your development environment with a single click. When opening a worktree, WorktreeWise preserves editor configurations, run/debug profiles, and bookmarks inherited from your primary project.


How to Open a Worktree in an IDE

  1. In the Worktrees panel, locate the target worktree.
  2. Select the three-dot Actions menu and hover over Open in.
  3. Select your desired editor (for example, VS Code, Cursor, WebStorm, or IntelliJ IDEA).
  4. The editor launches with its workspace set to the worktree directory.

Editor choices

If your preferred editor does not appear in the menu, ensure it is enabled in Settings → Editors.


Configuring Editors in Settings

To configure which editors appear in the Open in menu:

  1. Open Settings (Shift + S) and select the Editors tab.
  2. Select Scan to automatically discover installed IDEs on your machine (editors:detect-all).
  3. Click any editor card to toggle its enabled state:
    • Enabled: Displays a highlighted blue border and appears in worktree action menus.
    • Disabled: Excluded from menus to keep the interface focused.

Editor settings

Custom Executable Paths

If an editor is installed in a portable directory or custom path:

  1. Select the Pencil icon (✏️) on the editor card.
  2. Enter the absolute path to the executable file.
  3. Select Edit to save.

Edit the Full Path of an editor

The editor configuration modal provides example executable paths for Windows, macOS, and Linux. For a complete list of standard installation paths, see Editors Settings Reference.


Preserved IDE Configurations

When you open a worktree through WorktreeWise, your IDE automatically inherits configurations established in your primary worktree. You do not need to reconfigure settings for each new branch:

Preserved ElementDetails
BookmarksCode line bookmarks and contextual tags are retained.
Run / Debug ConfigurationsSaved run targets, build profiles, and debugger launch arguments remain available.
Scripts and ToolsExternal build tools, file watchers, and custom IDE actions are preserved.
Version Control SettingsProject VCS mappings and changelist preferences remain intact.
Recent Files & HistoryLocal file history and recent search queries carry over.