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: getSnapshot called after shutdown #50327
Comments
Thanks for reporting. This is a new assertion that we've added. Did this occur while closing/reloading your editor, or restarting the language server? |
I also see that you've manually restarted the language server multiple times. We'd like to (eventually) eliminate the need for doing this; could you describe what led you to restart? |
Thank you for replying. I have a project that has multiple go.mod files for different packages, so I'm trying to use some experimental features of gopls. The configuration is as follows:
Previously this function was working fine, currently there may be some potential misuse resulting in frequent errors of the following form: err: exit status 1: stderr: go: YYYY@v1.9999999.0-goplsworkspace requires In addition the link:#44097 is referenced and does not seem to work. |
Thanks for following up. I'm a bit confused: are you setting |
Yes, I set up experimentalWorkspaceModule to true, but it don't seem to work. |
Change https://golang.org/cl/375875 mentions this issue: |
gopls version: v0.7.4
gopls flags:
update flags: proxy
extension version: 0.27.2
go version: 1.16.5
environment: Visual Studio Code linux
initialization error: undefined
manual restart count: 4
total start count: 6
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
The text was updated successfully, but these errors were encountered: