Worktree Hot SwapSwitch between git worktrees seamlessly. Open file tabs automatically switch to their worktree versions and back based on your selection (tabs with unsaved changes are never touched). Language servers like clangd are automatically re-scoped to the worktree you select. No window reopen is performed when switching, meaning your AI agents are not interrupted. This extension helps human users oversee AI agents working in worktrees.
Recommended LayoutDrag your Worktrees pane above your Explorer pane as shown above. Language ServersLanguage servers are extensions that power convenient features like "Go to definition". When you switch worktrees, these servers are restarted. Without this, those features can incorrectly take you across worktree boundaries. The extension has been hard-coded with popular language servers for the most common programming languages. See Language Servers for the list of supported servers and configuration guidance. If your language server does not appear on that list, you will need to add it via config. The above link contains instructions. Development
AttributionThe git worktree discovery and porcelain-parsing plumbing ( LicenseDistributed under the MIT License. Use, modify, and share freely! |
