Description
We're exploring what it could look like to enable a three-way merge workflow in VS Code. Here are some initial ideas to get the ball rolling 👍
Prototype
Here's a brief walkthrough where I set up a simple merge conflict and resolve it with a three-way merge editor:
three-way-merge-walkthrough-converted.2.mp4
Main views
Here are some quick screenshots from the prototype above:
Entry point
I've been exploring the idea of having multiple entry points from a merge conflict state. One is via the existing codelens actions ("Preview Merge")...
..and another via the SCM where there could be an icon button (icon here is just a placeholder) on the file that has conflicts:
Preview merge
Here's what the merge editor preview could look like. Here it features a mixed layout with the branches on top and the resulting code below. The branch editors are read-only while the result editor is editable.
With selections
Here are two examples where selections have been made. One with a selections from different conflicts on each branch:
...and another showing the same changes being picked on both branches:
Feedback and ideas welcome!
cc @misolori @albertelo @lszomoru @rebornix
Metadata
Metadata
Assignees
Type
Projects
Status