atom / find-and-replace

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

Sublime functionality Atom doesn't support #67

Open probablycorey opened 10 years ago

probablycorey commented 10 years ago
jasonrudolph commented 10 years ago

'meta-d': 'find_under_word'

One of my favorite features in Sublime. Incredibly useful. I'd love to have that in Atom!

kdaigle commented 10 years ago

I completely agree with @jasonrudolph. I'd :heart: meta-d.

thedataking commented 10 years ago

+1 especially for find_all.

altuzar commented 10 years ago

+1 for find_all too. I use it like crazy in ST.

tamtamchik commented 10 years ago

+1 to find_all

grigio commented 9 years ago

+1 to find_all

clhynfield commented 9 years ago

@grigio, find_all was added Dec 2 (0fefb656e1cbff9c70d1debb80864e14ea3e1262) and should be included in the latest version of Atom (0.166).

grigio commented 9 years ago

@clhynfield thanks, I've upgraded to 0.166 and it work well

tjmehta commented 9 years ago

Problem: meta-d does not work as it does in sublime

In sublime, if I select anything include partial word, or any segment of text, meta-d will select the next match. In atom, meta-d will only match exact words.

For Example:

var personName = 'name';
var personRole = 'admin';

I should be able to highlight person (of personName), and meta-d should select the next person (of personRole). meta-g on the other hand works as it (and meta-d) finding the next match.

s2t2 commented 9 years ago

aah i see "find all" is equivalent to: ctrl-f, then type the search term, then hit alt-enter

thanks!

https://github.com/atom/find-and-replace/issues/67#issuecomment-69021689

bronson commented 9 years ago

@probablycorey, looks like you can cross 'shift-enter' off. It works great for me on 1.0.19.

edit: yep, merged over a year ago: https://github.com/atom/find-and-replace/issues/67

ruthgrace commented 8 years ago

What is the difference between find_under and find_next ? I'm interested in contributing to Atom with this beginner issue.

Also, is the ctrl+meta+g already taken for mac/darwin? It looks from the find-and-replace package keymaps code like its be reserved for find-and-replace:select-all.

Thanks in advance!

ruthgrace commented 8 years ago

bastilian on the atom slack sent me this link that explains the difference between find_next and find_under: http://docs.sublimetext.info/en/latest/reference/commands.html !

ruthgrace commented 8 years ago

I believe find_under and find_under_prev are done. On Mac the hotkeys are cmd-f3 and cmd-shift-f3, and on Windows and Linux the hotkeys are ctrl-f3 and ctrl-shift-f3. As well, cmd-ctrl-g on Mac alt-f3 on Windows and Linux are find_all_under. So only replace_next and slurp_replace_string are left to do.

agleis commented 8 years ago

Added find-all-under as select-all-under. The keybindings are currently ctrl-alt-g for Windows, ctrl-cmd-G for Mac.

handasolo commented 7 years ago

Hi, I've never worked with Electron before, but I'd like to help with this. Would this be hard for someone who's just starting out on Electron?

50Wliu commented 7 years ago

@Slayslot This is an Atom issue. Did you mean Atom instead of Electron?

handasolo commented 7 years ago

@50Wliu I meant to say I've never worked with an Electron app before.

50Wliu commented 7 years ago

I would encourage you to experiment, ask questions when you get stuck, and determine for yourself if this is too hard of an issue for you to start out with :). That being said, it looks like #719 adds the last command but hasn't been reviewed yet.

aseemydv commented 6 years ago

Hi, I wish to work on that. Would like to know where to begin with to make changes.

50Wliu commented 6 years ago

@aseemydv see if you can figure out how #719 works, then try to apply it the current codebase. I think that would be a pretty good way to start.

elliotaplant commented 6 years ago

Is anyone working on slurp_replace_string? If not, I'd love to take it on.

elliotaplant commented 6 years ago

Actually it looks like cmd-alt-f already does slurp_replace_string (really find-and-replace:show-replace). Would we like to also have the cmd-shift-e keybinding do find-and-replace:show-replace, or can we cross off that that item and be done with the list?

irahulcse commented 6 years ago

+1 to find_all