golang / vscode-go

Go extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=golang.Go
Other
3.8k stars 730 forks source link

gopls: automated issue report (initialization) - gopls is not installed #3109

Closed vigneshramesh08 closed 5 months ago

vigneshramesh08 commented 6 months ago

gopls version: undefined/undefined gopls flags: update flags: proxy extension version: 0.40.1 environment: Visual Studio Code linux initialization error: Error: Pending response rejected since connection got disposed issue timestamp: Tue, 02 Jan 2024 06:08:08 GMT restart history: Tue, 02 Jan 2024 06:08:07 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
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.
hyangah commented 6 months ago

@vigneshramesh08 Looks like gopls is not installed. Didn't the extension prompt and ask to install gopls?

gopherbot commented 5 months ago

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.)