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 269830 - Missing imports are still highlighted as erorrs after they are added using ALT+ENTER
Summary: Missing imports are still highlighted as erorrs after they are added using AL...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-15 01:14 UTC by haslam223
Modified: 2017-02-15 01:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the bug. Red highlight is still shown after the import was added using ALT+ENTER. (85.83 KB, image/png)
2017-02-15 01:14 UTC, haslam223
Details

Note You need to log in before you can comment on or make changes to this bug.
Description haslam223 2017-02-15 01:14:12 UTC
Created attachment 163634 [details]
Screenshot of the bug. Red highlight is still shown after the import was added using ALT+ENTER.

Many times during development I use the ALT+ENTER shortcut to rectify a missing import. Netbeans will add the import for me but it doesn't always remove the red underline from the error. ALT+ENTER will still show the suggestions, even after the import has been added.

I have attached an example screenshot.
There is seemingly no way to remove the bug apart from closing and reopening the file.