Groovy in NetBeans – Inplace Rename

So we are feature-frozen with NetBeans 6.5. That means no additional functionality can be added until final bits are released. We’ve just started fixing phase, so maybe it’s time to walk through few interesting features (with screenshots, of course :-) in few more regular blog entries. For today I want to show you editor action known by several names, sometimes under Inplace Rename. On my Mac it is invoked by Ctrl+R shortcut. It tries to locate usages of local variable in edited file, highlights them and while you are editing name of the variable in one place, all other occurrences of the same variable are renamed at the same time as you type. To demonstrate this on some real example, I used HTTP POST/GET helper Groovy class from Groovy Cookbook Examples.

inplace-rename.png

This entry was posted in Groovy, NetBeans. Bookmark the permalink.

2 Responses to Groovy in NetBeans – Inplace Rename

  1. Markus Jais says:

    Great stuff. Can’t wait until the final release of NB 6.5.

  2. Excellent news!
    Rename is certainly one of the refactorings people use the most. A very good choice :-)
    Keep up the good work, Martin!