-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/tools/gopls: no AST for file after adding and removing file #34218
Comments
Support for watching changed files is still experimental. Can you reproduce this issue if you add the following to your VSCode settings? "gopls": {
"watchFileChanges": true
} |
I added and removed file from the editor, not externally. Do you mean that |
I checked and got same issue with |
Possibly related #34678 |
Change https://golang.org/cl/201221 mentions this issue: |
This change modifies the invalidContent function to take a file change type. This allows us to eliminate the separate invalidateMetadata function. The logic of watching changed files is then further pushed into the caching layer. Updates golang/go#34218 Change-Id: Id31b3931c45ec408b6e7b4a362e00f9091ba4f70 Reviewed-on: https://go-review.googlesource.com/c/tools/+/201221 Run-TryBot: Rebecca Stambler <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Ian Cottrell <[email protected]>
Duplicate of #31553 |
After adding
model/friends.go
and then removing it, I'm getting this error anytime I want to importmodel
package:The text was updated successfully, but these errors were encountered: