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 238207 - Ctrl-R is a hotkey for Refactor/Rename according to a popup menu, but pressing Ctrl-R does not bring up rename dialogue
Summary: Ctrl-R is a hotkey for Refactor/Rename according to a popup menu, but pressin...
Status: CLOSED DUPLICATE of bug 215138
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-10 19:23 UTC by ajeh
Modified: 2013-11-21 14:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ajeh 2013-11-10 19:23:28 UTC
Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows XP version 5.2 running on amd64
Java; VM; Vendor = 1.8.0-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b56

Ctrl-R is a hotkey for Refactor/Rename according to a popup menu, but pressing Ctrl-R does not bring up rename dialogue
Comment 1 Marian Mirilovic 2013-11-13 12:51:52 UTC
Please attach messages.log file and reopen. Thanks in advance.
Comment 2 Jiri Prox 2013-11-13 13:22:27 UTC
Ctrl-R is shortcut for Rename in general, so it may invoke heavyweight Refactoring Rename or just simple inline rename (indicated only by color boxes in editor) if it is suitable.

It also depends on the location where was focus when the short cut was invoked - if it was project view or editor. In the second case it is also important what code element was selected.
Comment 3 ajeh 2013-11-13 15:14:19 UTC
Don't include shortcut info in in popup menu then if it does not apply. It's misleading.
Comment 4 Jiri Prox 2013-11-13 15:23:22 UTC
The shortcut is correct - ctrl-R = rename (the IDE will decide which one is suitable)
Comment 5 ajeh 2013-11-13 19:34:25 UTC
Yes, but nothing happens when Ctrl-R is pressed. No refactoring occurs.
Comment 6 Jiri Prox 2013-11-14 10:21:13 UTC
Ok, then please attach messages.log and describe the where was the focus/cursor when you've invoked the shortcut.
Comment 7 ajeh 2013-11-14 16:38:30 UTC
Just open any java source, highlight any variable and press Ctrl R. Your hands should not fall off if you took that little effort. I don't have any messages.log lying around.
Comment 8 Jiri Prox 2013-11-14 23:10:15 UTC
Of course we've tried it many times for different configurations & platforms & jdk version and we didn't encounter such problem. Please attach messages.log (located in {userdir}/var/log/) for further investigation. Also fragment of the problematic code is welcomed.
Comment 9 ajeh 2013-11-16 00:33:37 UTC
Once again: this issue is for not bringing up refactor/rename dialogue upon pressing Ctrl-R.

Inline renaming that you are referring to is not the same as refactoring via refactor/rename dialogue as inline renaming does not have an option to apply refactoring in the comments.
Comment 10 Jiri Prox 2013-11-19 11:36:47 UTC

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