Groovy in NetBeans — Inplace Rename

Martin Adamek
Martin Adamek
Published in
1 min readJul 19, 2008

--

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.

--

--