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 251900 - Offer rename in hints
Summary: Offer rename in hints
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-16 21:25 UTC by cezariusz
Modified: 2015-10-02 14:46 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Eclipse rename hints, both inplace and refactoring. (16.42 KB, image/png)
2015-04-16 21:25 UTC, cezariusz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2015-04-16 21:25:55 UTC
Created attachment 153247 [details]
Eclipse rename hints, both inplace and refactoring.

Product Version: NetBeans IDE Dev (Build 201504150001)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18
System: Windows 7 version 6.1 running on amd64; Cp1250; pl_PL (nb)

People often forget the shortcut to perform inplace rename. It would be very helpful to add this action to the hints on tokens. See the screenshot how it works in Eclipse.
Comment 1 Svata Dedic 2015-10-02 14:40:59 UTC
I would prefer not to provide such a feature. Currently the rename shortcut(s) check whether the symbol is local (private field, variable) and choose refactor-rename or instant rename. 
Renaming just locally would break referring code
Comment 2 cezariusz 2015-10-02 14:46:45 UTC
The problem is that most people don't remember all shortcuts, so using hints is very convenient. People coming from Eclipse really miss that feature.