You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project is very huge and consists of many packages. I worked around this by adding a go.work file in the root, and added one of the package I am focused on to that go.work. Then gopls doesn't complain. So wondering if it's because the project is too huge?
@Devinwong I think this crash is due to processing of one specific error message.
This looks like a dupe of golang/go#66875, and #3352 seems to have a reliable reproducer.
I will send a fix. Closing this as a dupe.
gopls version: v0.15.3/go1.22.2
gopls flags:
update flags: proxy
extension version: 0.41.2
environment: Visual Studio Code linux
initialization error: undefined
issue timestamp: Fri, 19 Apr 2024 21:41:19 GMT
restart history:
Fri, 19 Apr 2024 21:36:39 GMT: activation (enabled: true)
Fri, 19 Apr 2024 21:37:51 GMT: installation (enabled: true)
Fri, 19 Apr 2024 21:40:34 GMT: installation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
Installing golang.org/x/tools/gopls@latest (/home/devinwon/go/bin/gopls) SUCCEEDED
the connection to gopls has been closed. The gopls server may have crashed
gopls stats -anon
gopls stats -anon failed after 7640 ms. Please check if gopls is killed by OS.OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.
NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.
<OPTIONAL: ATTACH LOGS HERE>
The text was updated successfully, but these errors were encountered: