Open SafwanAhmed08 opened 7 months ago
Thanks for the report. Can you please share the log you see in the gopls output channel and tell us when you observed this popup (e.g. I was updating gopls
, I just opened the vscode, I did refactoring, ...)?
Hey, Unfortunately after that, my gopls got corrupted and hasn't worked since. This was shortly before or after updating it to version 0.15 (sorry, I'm not able to recall). Thanks for the early reply.
On Wed, 6 Mar 2024 at 01:41, Hyang-Ah Hana Kim @.***> wrote:
Thanks for the report. Can you please share the log you see in the gopls output channel and tell us when you observed this popup (e.g. I was updating gopls, I just opened the vscode, I did refactoring, ...)? [image: Screen Shot 2021-01-27 at 2 53 49 PM] https://user-images.githubusercontent.com/4999471/106151310-3899a680-614a-11eb-9be7-42f2ae0592c9.png
— Reply to this email directly, view it on GitHub https://github.com/golang/vscode-go/issues/3225#issuecomment-1979548477, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2OPH27DIYMBRUNCN4UJWZTYWYRHRAVCNFSM6AAAAABEHX23CKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGU2DQNBXG4 . You are receiving this because you authored the thread.Message ID: @.***>
Can you share the output of the following command:
$ go version $(which gopls)
I suggest you restart VS Code and describe what happens. If the problem persists, share the gopls server log as indicates in the post from @hyangah.
You may also want to try installing the prerelease of the next gopls version, which fixes a couple crashes:
go install golang.org/x/tools/gopls@v0.15.2-pre.1
gopls version: v0.15.1/go1.21.6 gopls flags: update flags: proxy extension version: 0.41.1 environment: Visual Studio Code win32 initialization error: undefined issue timestamp: Tue, 05 Mar 2024 19:38:15 GMT restart history: Tue, 05 Mar 2024 19:29:27 GMT: activation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
gopls stats -anon
{ "DirStats": { "Files": 12, "TestdataFiles": 0, "GoFiles": 12, "ModFiles": 0, "Dirs": 1 }, "GOARCH": "amd64", "GOOS": "windows", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.21.6", "GoplsVersion": "v0.15.1", "InitialWorkspaceLoadDuration": "29.8101ms", "MemStats": { "HeapAlloc": 2650624, "HeapInUse": 5021696, "TotalAlloc": 11654200 }, "WorkspaceStats": { "Files": { "Total": 0, "Largest": 0, "Errs": 0 }, "Views": null } }