New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error reporting seriously lags behind #49
Comments
I think some a little bit more description of what exactly you do and see would be helpful. I don't normally see very slow error updates, but there's probably some information I am missing. One particular thing that comes to mind is whether the errors get updated if you do File/Save All. Thanks! |
Here's an example of 2 warnings which persist, even after saving all files. Maybe the logs in #65 can help. They contain warnings like:
|
Another example. I just opened VS Code, opened the file, deleted a block of code within a method which had no impact on the correctness of the method (verified with a successful where links is defined as: var links = new ArrayList<String>(); Note how the first line correctly says for After adding a comment in the method, the error has changed to another false positive: And yet another false positive in the same method still: As I understand it, it says there's no suitable method |
This NetBeans issue which I filed at the time was very similar. For reproducing, making a change like adding a parameter to a method, renaming a method, removing an enum constant (all without using a refactoring) should do the trick. I just tried:
Doing |
The extension is very slow to realize when errors have been resolved. Doing
Java: Clean Workspace
clears the false positives, but that's not a solution (and sometimes the cleaning itself hangs and I need to restart VS Code altogether).The text was updated successfully, but these errors were encountered: