gopls version: v0.16.1/go1.22.5
gopls flags:
update flags: proxy
extension version: 0.42.0
environment: Visual Studio Code darwin
initialization error: undefined
issue timestamp: Thu, 29 Aug 2024 03:59:02 GMT
restart history:
Tue, 27 Aug 2024 07:53:20 GMT: activation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
Please attach the stack trace from the crash.
A window with the error message should have popped up in the lower half of your screen.
Please copy the stack trace and error messages from that window and paste it in this issue.
Failed to auto-collect gopls trace: no gopls log.
gopls stats -anon
{
"DirStats": {
"Files": 4444,
"TestdataFiles": 0,
"GoFiles": 165,
"ModFiles": 1,
"Dirs": 334
},
"GOARCH": "arm64",
"GOOS": "darwin",
"GOPACKAGESDRIVER": "",
"GOPLSCACHE": "",
"GoVersion": "go1.22.5",
"GoplsVersion": "v0.16.1",
"InitialWorkspaceLoadDuration": "1.174114125s",
"MemStats": {
"HeapAlloc": 62934704,
"HeapInUse": 96608256,
"TotalAlloc": 973228720
},
"WorkspaceStats": {
"Files": {
"Total": 3565,
"Largest": 5716013,
"Errs": 0
},
"Views": [
{
"GoCommandVersion": "go1.22.5",
"AllPackages": {
"Packages": 682,
"LargestPackage": 155,
"CompiledGoFiles": 3562,
"Modules": 124
},
"WorkspacePackages": {
"Packages": 47,
"LargestPackage": 18,
"CompiledGoFiles": 166,
"Modules": 1
},
"Diagnostics": 5
}
]
}
}
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.
gopls version: v0.16.1/go1.22.5 gopls flags: update flags: proxy extension version: 0.42.0 environment: Visual Studio Code darwin initialization error: undefined issue timestamp: Thu, 29 Aug 2024 03:59:02 GMT restart history: Tue, 27 Aug 2024 07:53:20 GMT: activation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
gopls stats -anon
{ "DirStats": { "Files": 4444, "TestdataFiles": 0, "GoFiles": 165, "ModFiles": 1, "Dirs": 334 }, "GOARCH": "arm64", "GOOS": "darwin", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.22.5", "GoplsVersion": "v0.16.1", "InitialWorkspaceLoadDuration": "1.174114125s", "MemStats": { "HeapAlloc": 62934704, "HeapInUse": 96608256, "TotalAlloc": 973228720 }, "WorkspaceStats": { "Files": { "Total": 3565, "Largest": 5716013, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.22.5", "AllPackages": { "Packages": 682, "LargestPackage": 155, "CompiledGoFiles": 3562, "Modules": 124 }, "WorkspacePackages": { "Packages": 47, "LargestPackage": 18, "CompiledGoFiles": 166, "Modules": 1 }, "Diagnostics": 5 } ] } }