vscode-go
vscode-go copied to clipboard
gopls: automated issue report (initialization)
gopls version: (devel) (undefined) gopls flags: update flags: proxy extension version: 0.35.2 go version: 1.13.4 environment: Visual Studio Code win32 initialization error: Error: json: cannot unmarshal object into Go struct field .capabilities.textDocument.publishDiagnostics.tagSupport of type bool issue timestamp: Sat, 17 Sep 2022 18:36:46 GMT restart history: Sat, 17 Sep 2022 18:36: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: unrecognized crash pattern.
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>
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, ...)?
Timed out in state WaitingForInfo. Closing.
(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)
[Trace - 07:10:27.533 AM] Received notification 'textDocument/publishDiagnostics'. Params: {"uri":"file:///Users/me/dev/ts/starling/pkg/data/datafile_test.go","diagnostics":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":37}},"severity":1,"code":"BrokenImport","codeDescription":{"href":"https://pkg.go.dev/golang.org/x/tools/internal/typesinternal?utm_source=gopls#BrokenImport"},"source":"compiler","message":"could not import github.com/stretchr/testify/assert (no required module provides package "github.com/stretchr/testify/assert"(workspace configuration error: 1 modules have errors:\n\tgitlab.x.xx.com/rocket/starling:pattern gitlab.x.xxxx.com/rocket/starling/...: lstat /Users/me/dev/ts/starling/vendor: no such file or directory\n))"}]}
[Error - 7:10:27 AM] 2022/10/20 07:10:27 errors loading workspace: 1 modules have errors: gitlab.trad.tradestation.com/rocket/starling:pattern gitlab.x.xx.com/rocket/starling/...: lstat /Users/me/dev/ts/starling/vendor: no such file or directory
snapshot=14
directory=file:///Users/me/dev/ts/starling