11 comments

It is (this freature comes from JetBrains ReSharper). But it is much less powerful then JBuilder's SyncEdit feature. After switching from JBuilder to IDEA this is one of the features that I miss.

SyncEdit is simple but extremely powerfull. Just select a block of code, place cursor in some word and that word automaticaly goes to inline sync-editing mode that changes all occurances of that word in the selection block (similar behavior as with IDEA inline refactoring or live templates). The power of this feature compared with inline refactoring in Demetra is that it changes all WORDS in the selection block, not only the variable. This is very powerful when you have to duplicate similar code, for example where the column names or request parameters have the same name as variables.

0

Acually our rename is more powerful than Resharper's since we resolve fields vs. locals conflicts on finishing editing new name.

0

To be honest, I don't see any benefit. The only advantage I see, is the
missing dialog, but one still needs to press Shift+F6 to start and Enter to
finish.

Tom

0

=)
I too see no difference in e.g. languages/tools: you anyway have to think about the task you are trying to solve, and what is even worse you have to solve it:)

0

Shift+F6, inlined replace.
Cool!


I'm missing the dropdown box with IDEA's naming suggestions. Now I have to type the 'correct' name instead of picking it out of a list.

0

Please don't understand me wrong. It works a little bit smoother than in
pre-Demetra versions, but what are further advantages? I see also some
disadvantages: the dialog could show a further dialog, when a name conflict
happens. Now you just see some underlined words, which might not be
visible. No extra warning.

And, I don't like the little inconsistency, that renaming a local variable
or parameter works in-line where renaming anything else shows a dialog.

Tom

0

I'm missing the dropdown box with IDEA's naming suggestions. Now I have to type the 'correct' name instead of picking it out of a list.


+1, I also missed that combobox when working with Eclipse.

Tom

0

As far i know - it configurable behaviour. It may be turned to classic behaviour.

0

And, I don't like the little inconsistency, that renaming a local variable or parameter works in-line where renaming anything else
shows a dialog.


I also agree with you here. That's why there's an option to turn inplace rename off (as Alexey mentioned).
"Use Settings | Editor ("Behavior" tab) | Rename local variables inplace" option

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"



0

Please sign in to leave a comment.