Keyboard shortcut for in-place searching in a file

Hi,

I am coming to RubyMine from Visual Studio backgound. There is one very handy search capability in VS I am really missing, but I am not sure if it's available in RubyMine. Basically, it works as follows:

  1. Move caret inside a phrase, be it a variable, contant, keyword, etc.
  2. Press a shortcut key combo (say Ctrl+Shift+N) and you are automatically brought to the next ocurence of the phrase in the same file.
  3. Keep pressing the same shortcut key combo and you are brought to subsequent occurances of the phrase in the same file.


I kind of achieve this in RubyMine with Cmd+F7 followed by Cmd+G, Cmd+G, ..., but I really like to do away with the initial Cmd+F7. Is this possible?

Thanks!
Pai-Hung

6 comments
Comment actions Permalink

Hi Pai-Hung,

What about Edit | Find |  Find Word at Caret ?

0
Comment actions Permalink

Yeah, thanks! Assiging a shortcut combo to it almost works the way I want it, except the following:

  • When it reaches the bottom-most occurence, it doesn't automatically wrap around to the top-most occurence.
  • It doesn't have the counter-part action for searching up.
  • (Both requre a different action: [Search | Find Next / Find Previous])

Is it possible?

Thanks,
Pai-Hung
0
Comment actions Permalink

Hi Pai-Hung,

AFAIK it is not currently possible. Here is already existing ticket on the same subject -- please vote / comment there. More votes = faster it will be implemented (well ... at least that is the idea behind it).

0
Comment actions Permalink

Done. Hopefully this essential editor feature will make it in the next release.

0
Comment actions Permalink

By the way, everytime I click on "Post Message," it takes 1-2 minutes for the action to go through (browser spinning), which has become an annoyance to me. Is this expected?

0
Comment actions Permalink

We are informed about the slow-down of the forums and investigating it now.

Thanks for letting us know and for you patience.

Best regards,
-Eugene

0

Please sign in to leave a comment.