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 251438 - Order of hints should be consistent
Summary: Order of hints should be consistent
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal with 5 votes (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-26 14:13 UTC by cezariusz
Modified: 2015-03-26 14:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Various hint orders (17.96 KB, image/png)
2015-03-26 14:13 UTC, cezariusz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2015-03-26 14:13:55 UTC
Created attachment 152859 [details]
Various hint orders

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1
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)


The order of hints should be always the same and the most common or useful ones should be always on the first position. Sometimes there is more than one suggestion and their order depends probably on previous actions (usually code editing, so I have to carefully read them before accepting.
When using Eclipse I could usually just press Ctrl+1 and Enter, because I knew what to expect there. A very common example is in the attachment:
- Split into declaration and assignment
- Suppress Warning - unchecked
I would always expect "Suppress Warning" to be the first and default, but as you can see - it's not always the case. During scanning or compiling in the background the order is opposite.