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 202886 - Allow "instant rename" when "refactor" is currently mandatory
Summary: Allow "instant rename" when "refactor" is currently mandatory
Status: RESOLVED DUPLICATE of bug 228240
Alias: None
Product: php
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 12:33 UTC by rogojine
Modified: 2013-11-04 16:16 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rogojine 2011-09-30 12:33:43 UTC
Since NB 7.0, when pressing Ctrl-R on a variable in the main code of a PHP file, a refactor window opens. When pressing Ctrl-R on a variable that has limited scope, then an "instant rename" action begins (that was always the behavior of NB6).

Please allow the user to access to instant rename even in the global scope. The ability to set up a keyboard shortcut specific to each action (instant and refactor) would be a great enhancement.

I'm currently working on a huge tree of legacy files. The global refactoring slow and ineffective when I know I'm renaming a local variable (the file does not include() anything). Refactoring produces many false positives (different files that have no include relation but have a variable of the same name).

I hope this is not a duplicate ticket. I couldn't find a ticket for this, though many users complained about this change in the mailing list and in the NB dev blog's comments.
Comment 1 erusev 2012-11-21 19:58:50 UTC
I'd very much like this too.
Comment 2 duke 2013-11-04 16:16:30 UTC

*** This bug has been marked as a duplicate of bug 228240 ***