Skip to content

VS Code

Use this guide when VS Code or a VS Code-based editor is your primary destination for opening and managing Arashi worktrees.

Cursor and Kiro are VS Code forks, so the same editor-first workflow generally applies there as well. This page focuses on VS Code because the Arashi extension is published through the standard VS Code extension ecosystems.

Use the CLI when you are already in the terminal and want to open a specific worktree immediately.

Terminal window
arashi switch --vscode feature-auth
  • Best for editor-first workflows where the terminal is secondary.
  • Good default when your team reviews changes primarily inside VS Code.
  • Useful when you want a one-off editor launch without changing workspace defaults.

Install the Arashi extension when you want Arashi controls inside the editor, not just a one-off CLI launch.

With the extension installed, you can:

  • run core Arashi commands from the command palette, including init, add, clone, create, pull, sync, switch, and remove
  • browse available worktrees in the Arashi Worktrees Explorer view grouped by repository, including repo, branch, path, and change status
  • use panel title actions to create worktrees and refresh the current view without leaving the editor
  • use inline worktree actions to switch or remove a selected worktree with the exact clicked target
  • open the workspace root or a related repository in a new editor window from the panel or command palette
  • review command diagnostics in the Arashi output channel when setup or command execution fails
  • respond to startup warnings in-editor, including a shortcut to run Arashi: Init Workspace

If the panel is not immediately visible, open the Explorer sidebar and reveal the Arashi Worktrees view from the Explorer view menu.

  • Use arashi switch --vscode <branch> when you are already in the terminal and want VS Code to open a specific worktree immediately.
  • Use the extension when VS Code is your primary shell for day-to-day worktree management and you want a persistent worktree panel.
  • Set arashi.binaryPath, arashi.workspaceRoot, or arashi.commandTimeoutMs in VS Code settings when the editor should target a specific binary or workspace root.
  • Use --cursor or --kiro when you want the same VS Code-style workflow in those editors.