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 245958 - Add 'Create constant' hint
Summary: Add 'Create constant' hint
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 12:09 UTC by tomzi
Modified: 2015-10-02 15:47 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 tomzi 2014-07-24 12:09:46 UTC
When I am in the process of writing code like:

String sysParam = getSystemParameter(MY_SYSTEM_PARAM);

where only the variable MY_SYSTEM_PARAM is unknown it would be nice to have a hint :
"Create constant" (private static final...)

instead currently I can 'only' create a field (private...)




Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Linux version 3.5.0-49-generic running on amd64
Java; VM; Vendor = 1.7.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.60-b09