minimap icon indicating copy to clipboard operation
minimap copied to clipboard

[Feature Request] Display area of merge conflict in minimap

Open r0ckarong opened this issue 7 years ago • 2 comments

Hi, I would love to see an option in minimap to highlight the area of a merge conflict in the minimap. Typically I can find that using the line numbers from git diff or by searching for the "<"-strings. It would be very cool to have a two colored higlight in the minimap that shows the HEAD and CONFLICT area.

That would greatly reduce the number of times I miss a tiny change in a large file by resolving the other conflicts and then committing with typically one line still conflicting.

r0ckarong avatar Mar 30 '17 18:03 r0ckarong

@r0ckarong I imagine that this is best implemented using a minimap plugin. You might find the git-diff plugin is the best place to ask for this feature (or a good plugin to base your own plugin off).

But yes, I agree that this would be quite beneficial!

alexrussell avatar Apr 02 '17 21:04 alexrussell

Hi there, that's an interesting idea but as @alexrussell suggested it should live as a separate plugin. I'm not knowledgeable enough regarding merge conflict to tell you whether it's easy to implement, maybe @smashwilson can give us some insight about its plugin.

abe33 avatar Apr 03 '17 07:04 abe33