-
Notifications
You must be signed in to change notification settings - Fork 645
weirdness with errors #1145
Comments
@ramya-rao-a thanks for your fix; btw, when will release a new version ? |
sometime next week, I have been busy with a few other things, sorry :( Until then you can follow the instructions in #1121 (comment) |
@ramya-rao-a sadly neither of the options listed worked. I've tried the latest extension manually installed as well as various other machinations. I've scoped to the linting to the package level so that at least helps a little but the problem of cached errors is still there as in these screenshots. I introduce an error and save. I fix the error and save again returning the file to valid state but the line/error is cached somehow |
as a follow up, setting |
@lusis What are the values for |
@luis I can't repro the issue but I think I know what's happening. The build/lint/vet/cover on save operations are triggered at the same time. And only after all are complete, the results get updated. In your case I believe, the running of the coverage might be taking a long time, thus delaying the update of the build/lint/vet results. I have decoupled the coverage part from build/lint/vet process. Can you re-try after installing the extension from https://github.com/Microsoft/vscode-go/blob/master/Go-latest.vsix and setting |
@lusis Did you get some time to try the latest from master? |
@luis I believe the latest version of the Go extension (0.6.64) has the fix for your issue Since I havent heard back from you in a while, I am assuming that the fix works. |
Hey all,
Since a recent update I've seen some weirdness where invalid code is cached and reporting as a problem even after fixing it.
It appears that some recent change started attempting to validate stuff in the vendor directory and is thus breaking my current file.
This is apparently entirely new behaviour it appears and have turned a few folks internally off of vscode. Here are my current settings:
The text was updated successfully, but these errors were encountered: