This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 202426 - Ctrl-R rename refactoring should end on tab, space, not just enter or Esc. It should not insert tabs beside all occurances of the variable.
Summary: Ctrl-R rename refactoring should end on tab, space, not just enter or Esc. It...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2011-09-21 14:21 UTC by swpalmer
Modified: 2013-09-02 14:18 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description swpalmer 2011-09-21 14:21:24 UTC
Product Version = NetBeans IDE Dev (Build 201109202329)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) Client VM 21.0-b17

Currently while renaming a variable (Java) with Ctrl-R If I press tab during the rename it inserts a tab everywhere that the variable is found.  Since a tab (or space, etc) is not a valid character in a Java identifier this should not happen.
While Tab may not make much sense, I was pressing it because I was renaming a method parameter and the context looked very much like the auto-complete of a method call, where pressing tab moves to the next parameter. I actually was going to rename the next parameter in the method declaration as well, so it seemed natural :-)