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 269803 - Editor Hints Suggest Deprecated Method Names
Summary: Editor Hints Suggest Deprecated Method Names
Status: RESOLVED DUPLICATE of bug 269987
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: Macintosh Mac OS X
: P4 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-11 23:43 UTC by djmordigal
Modified: 2017-03-09 14:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
attached screenshot for reference (40.46 KB, image/png)
2017-02-11 23:43 UTC, djmordigal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description djmordigal 2017-02-11 23:43:57 UTC
Created attachment 163615 [details]
attached screenshot for reference

See the attached screenshot for reference.

When I start to type "req" (for the requestFocus() method of JTextField), the editor highlights the first alphabetical suggestion, requestDefaultFocus(). This method is deprecated and, even though the editor recognizes this (as seen by the strikethrough over the method name), it should not suggest deprecated methods for any class.

I am using a Mac, but this probably applies to all platforms.
Comment 1 Svata Dedic 2017-03-09 13:56:23 UTC
deprecated methods could be perhaps 'deprioritized' in suggestion list ... Dusane ?
Comment 2 Dusan Balek 2017-03-09 14:40:31 UTC
Deprecated methods should be already 'deprioritized' in suggestion list.

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