Ocelot Merge ResolverSix-shooter for your git conflicts. A JetBrains-style 3-way merge conflict resolver for VS Code and Cursor. Resolves Features
How it opens (
|
| Value | What happens | When to use it |
|---|---|---|
focusMode (default) |
Closes the bottom panel (terminal / output / problems), the right auxiliary bar, and every other editor group. Keeps the primary sidebar (source control, Claude chat, file tree) intact. You end up with sidebar │ merge editor, nothing else — Claude-Code-style. |
You want maximum horizontal space for the diff without losing your usual sidebar. |
newWindow |
Moves the merge editor into a brand-new OS window. Your main window stays untouched. | You want to keep your current layout frozen and handle the conflict in a separate window. |
current |
Just opens the editor, does not rearrange anything. | You don't want the extension touching your layout. |
Change it
- Settings UI:
Cmd+,→ search Merge Resolver → Open Behavior dropdown. - Command:
Cmd+Shift+P→ Merge Resolver: Change open behavior (opens the setting directly). settings.json:
Put it under User settings for a global default, or{ "mergeResolver.openBehavior": "focusMode" }.vscode/settings.jsonto share the choice with your team via git.
AI setup (optional)
- Run Merge Resolver: Set Anthropic API key from the command palette.
- Paste an API key (starts with
sk-ant-...). It is stored encrypted in VS Code's SecretStorage. - Click the sparkle button on any conflict to request a suggestion.
The model can be configured via the mergeResolver.anthropicModel setting (default: claude-sonnet-4-6).
Settings — at a glance
| Key | Type | Default | Purpose |
|---|---|---|---|
mergeResolver.openBehavior |
"focusMode" \| "newWindow" \| "current" |
"focusMode" |
How the workbench is arranged when a conflict auto-opens (see section above). |
mergeResolver.anthropicModel |
string | "claude-sonnet-4-6" |
Anthropic model used for AI conflict suggestions. |
Commands
Merge Resolver: Open current file in Merge ResolverMerge Resolver: Set Anthropic API keyMerge Resolver: Change open behavior
Usage
- When a merge or rebase stops with conflicts, the extension detects it and prompts to open the resolver. By default it arranges the workbench in focus mode: primary sidebar + merge editor, nothing else.
- You can also open any file in the resolver manually via Merge Resolver: Open current file in Merge Resolver.
- After resolving every conflict click Save — resolved files are staged automatically, and the merge/rebase can be continued.
Requirements
- The built-in
vscode.gitextension must be enabled. - Optional: an Anthropic API key for AI suggestions.
License
MIT