Closed Mathiasriv closed 2 months ago
@Mathiasriv can you please reinstall the gopls using go1.22.x? Looks like the gopls was built with go1.19.8. Out of curiosity, wasn't there a popup asking to reinstall gopls?
Thanks for the report!
@Mathiasriv can you please reinstall the gopls using go1.22.x? Looks like the gopls was built with go1.19.8. Out of curiosity, wasn't there a popup asking to reinstall gopls?
Thanks for the report!
Not that I remember!. I'm going to try.
This was also fixed in gopls@v0.15.3.
gopls version: v0.15.2/go1.19.8 gopls flags: update flags: proxy extension version: 0.41.2 environment: Visual Studio Code linux initialization error: undefined issue timestamp: Tue, 02 Apr 2024 11:55:17 GMT restart history: Tue, 02 Apr 2024 11:54:58 GMT: activation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
gopls stats -anon
{ "DirStats": { "Files": 46, "TestdataFiles": 0, "GoFiles": 5, "ModFiles": 2, "Dirs": 33 }, "GOARCH": "amd64", "GOOS": "linux", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.19.8", "GoplsVersion": "v0.15.2", "InitialWorkspaceLoadDuration": "34.958126ms", "MemStats": { "HeapAlloc": 2122184, "HeapInUse": 4251648, "TotalAlloc": 9380152 }, "WorkspaceStats": { "Files": { "Total": 0, "Largest": 0, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.22.1", "AllPackages": { "Packages": 0, "LargestPackage": 0, "CompiledGoFiles": 0, "Modules": 0 }, "WorkspacePackages": { "Packages": 0, "LargestPackage": 0, "CompiledGoFiles": 0, "Modules": 0 }, "Diagnostics": 0 } ] } }