Multi-Select ?

e-TextEditor has a 'multi-select' editing mode, where you can select multiple text regions (using ctrl-select), then edit them all at once.

It's handy for changing a bunch of variable names all at once - I find it much faster than standard find/replace for small edits.

Does RubyMine have a similar 'multi-select' editing mode ??

4 comments
Comment actions Permalink

OK I found it - 'rename refactoring' - works a bit differenet than multi-select i am used to - but still works great.

0
Comment actions Permalink

Hi Andy,

That's right—rename refactoring is the answer!
Good to know you've found it.

-Eugene

0
Comment actions Permalink

OK - I've used 'rename refactoring' a bit more.

It works fine to rename a variable within a method.

But it doesn't seem to work on symbols within a method.  Nor does it seem to work on method names, ERB text, .features text...

Am I missing something??  Is there a simple technique to do fast renaming of symbols/text?  (other than search and replace...)

RubyMine developers - check out the multi-select editing behavior of e-texteditor - it really is excellent.  (just select multple regions with ctrl-select, then type)

0
Comment actions Permalink

RubyMine developers - check out the multi-select editing behavior of e-texteditor - it really is excellent.  (just select multple regions with ctrl-select, then type)

May be easier to select one region and that select "replace all" action?

0

Please sign in to leave a comment.