atom / find-and-replace

Find and replace in a single buffer and in the project
MIT License
242 stars 196 forks source link

Highlight results on scrollbar #529

Closed surdu closed 6 years ago

surdu commented 9 years ago

It would be nice to have this feature as in Chrome or other editors: when you search something, the position of the search results would be highlighted on the scrollbar to see where you have to scroll to see those results.

mnquintana commented 9 years ago

You can essentially get this now by installing minimap and minimap-find-and-replace. Does that about cover what you're looking for?

surdu commented 9 years ago

No. That occupies way to much horizontal screen real-estate. What I'm looking for is something more like this:

screen shot 2015-09-18 at 14 57 21
sabrehagen commented 8 years ago

+1

nunobaba commented 8 years ago

+1 Visual Studio Code has that functionality. As the VSCode and Atom are Electron-powered, it might be a quick job to the code and turn into an Atom package.

tuanzhang7 commented 8 years ago

+1 useful function, please add

ilazarte commented 7 years ago

Just tried out minimap for this, but its not the same. You have to scroll in order to see the occurence in the file, whereas this feature would show all occurrences in the bar itself. Much more useful than a minimap concept.

krasi-georgiev commented 7 years ago

I found this https://atom.io/packages/scroll-searcher

but doesn't install

573

jessexknight commented 6 years ago

Any update on this?

I downloaded the scroll-searcher package too (and installed fine after restarting atom), but it throws this error and doesn't work.

Daijobou commented 6 years ago

+1 I love this.

surdu commented 6 years ago

It took a while but it's finally here. I give you: find-scroll-marker.

As a bonus, I've also created scroll-marker that provides a service that other packages (like the one mentioned above) can use to add other markers to the scroll bar. Documentation pending and API improvements are needed, but it's a start.