How to add the next occurrence of the current word in the selection in RubyMine (for example, in Sublime Text)?

How to make equivalent CMD + Din Sublime Text with RubyMine?

eg. root this and that and this root.

  • cursor on root
  • CMD+Dchooses how root(in exalted)
  • enter a word to replace both root

enter image description here

In RubyMine, if I hold altand press the word I want, it will duplicate cursors. This is what I want, BUT I don’t want to click on the next word ... I just want Sublime Text to have a NON-CLICKING shortcut, for example CMD+D, that is smart enough to select all the same words.

enter image description here

+4
source share
1 answer

, , :

  • OS X: Ctrl+G Ctrl+CMD+G ( )
  • Linux Windows: alt-J

, "" → "" " ", , .

( ): http://blog.jetbrains.com/ruby/2014/03/whats-mining-multiple-cursors-and-selection/

+3

Source: https://habr.com/ru/post/1541962/


All Articles