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 269622 - Sometimes Java Errors do not refresh when I use Alt-Enter to add an import.
Summary: Sometimes Java Errors do not refresh when I use Alt-Enter to add an import.
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P4 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-22 01:51 UTC by dannychase2004
Modified: 2017-01-22 01:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dannychase2004 2017-01-22 01:51:32 UTC
I keep having to close the file in NetBeans and re-open it to clear the Java compilation errors (redlines), when using Alt-Enter to fix imports. Unfortunately I can't give you an example of exactly when, but it happens to me pretty often (I have started just reloading after fixing all of the imports with Alt-Enter. I just tried to make it happen when putting in this bug report, but it worked fine in a simple program - There must be a corner case where it's within a certain type of class, variables in different places, after copy/paste operation, or something else. By submitting, I'm hoping someone else has experienced and reported this, or gives you a heads-up that it's occurring. In practice, I usually have more than one fix per line when this occurs, but again my simple example worked.