Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Navigation between merge conflicts #812

Open
smashwilson opened this issue May 16, 2017 · 15 comments
Open

Navigation between merge conflicts #812

smashwilson opened this issue May 16, 2017 · 15 comments

Comments

@smashwilson
Copy link
Contributor

From smashwilson/merge-conflicts#267:

Quite possible I missed something visually while using this tool. If that is the case, just let me know.

I had two conflicts in the same file. I clicked on the "use ours" button.
The update to the file was made in atom's buffer.
I was completely clueless how to move to the next conflict quickly. I did not see a button the footer UI and scrolling wasn't really an option as there were a few thousand lines between the different conflicts.
I ended up needing google to get me to atom.io/packages/merge-conflicts so I could figure out the key combo.

Felt like there should have been a UI button on the footer interface.

merge-conflicts v1.4.4.

It'd be cool to have a (discoverable) way to navigate among conflicts within a file or across files.

@smashwilson
Copy link
Contributor Author

A related suggestion from @haacked that's a good idea:

When you click on a conflicted file, scroll the first conflict into the view.

@ungb
Copy link

ungb commented May 24, 2017

Also on this, I noticed that when clicking on the file, it doesn't take you to the merge conflict for the first one. See gif:

merge

@nadim
Copy link

nadim commented Jan 18, 2018

Is it possible for an official response on this?

@BinaryMuse
Copy link
Contributor

@nadim Well @smashwilson works for GitHub on Atom, so since he opened the issue I think it's fairly official already. :) This is something we'll definitely fix when we can.

@vol24pl
Copy link

vol24pl commented Feb 28, 2018

Well, for me "prev/next conflict" might be the most important feature in the conflicts handling.

https://github.atom.io/videos/github-feature-resolve-conflict.mp4

By looking at this movie from official website I thought that clicking on conflict takes you to the first conflict in the file (not the beginning of the file). Conveniently, in the movie, beggining of the file was also in the visual center of the conflicted lines :)

@heisian
Copy link

heisian commented Apr 20, 2018

Time to get down-voted:

macOS:
⌘ + F, <<<<, enter

Windows/Linux:
CTRL + F, <<<<, enter

Viola!

@kanzelm3
Copy link

kanzelm3 commented May 29, 2018

@heisian that's a simple workaround, but from a UX standpoint, I think this would still be a great feature to add to the native conflict resolution tool in Atom.

The merge conflict resolution tool on github.com has this functionality and it allows you to jump through conflicts and resolve them without having to remember what characters to search for.

It's not super critical, but it's a nice to have!

@Rihoj
Copy link

Rihoj commented May 24, 2019

@smashwilson I see that the Feature Sprint v0.20.0 was closed out, but this was not. Was this never continued?

@codefaux
Copy link

codefaux commented Aug 25, 2019

I'm about to have to install a plugin (EDIT: The plugin doesn't even work, go figure.) for what I find to be confoundlingly unfriendly behavior in an otherwise shockingly user-friendly editor, when I realized it's stupid to NEED a plugin to not have to manually skim (*or know how to search) a twenty thousand line file for the four lines I care about.

I'm new to git, I'm learning because of Atom and a project I'm now involved in -- I just thought the devs might like to hear the perspective of a new user, not trying to step on anyone's toes.

@ntiley
Copy link

ntiley commented Oct 3, 2019

It's annoying not to have a button, but you can use Ctrl+F then search for <<<<<<< or =======

@GitMurf
Copy link

GitMurf commented Sep 26, 2020

What ever happened on this? Anything? I looked through all these old related issues on jumping through merges/conflicts and ended up just using the suggestion of "Ctrl + F" and searching for "<<<<"... is that really the solution still to this day? Thanks.

@alfuken
Copy link

alfuken commented Jul 14, 2021

Hello from 2021

@codefaux
Copy link

"Implement it as a feature? Why, it's too easy to implement as a feature!" -- the devs, apparently (ca. 2018)

@tangentlab
Copy link

Hi from 2022. I think this still needs to be done.

@augustosamame
Copy link

Atom is dead. Long live Atom!

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests