-
Notifications
You must be signed in to change notification settings - Fork 799
Golang Language Server Connection Issue in VS Code #3085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@vishaljangid1729 Thanks for the report. The message in the log seems suspicious:
Can you add the following to the setting and share the logs from both "gopls" and "gopls (server)" channels?
There will be a squiggle under "compact", but it's ok. And, finally, can you try a clean install of the gopls using the "Go: Install/Update Tools" command or |
@hyangah Thanks for your update. Despite applying the recommended changes and reinstalling
![]() ![]() |
To ensure it's not the same issue as golang/go#63997 Can you share the following output?
and also see if manual codesigning addresses the issue:
|
|
@hyangah Thanks |
Hey @hyangah @vishaljangid1729 I tried the manual code signing route, but I still have the same issue I get the update message each time, and I try to update but I still get the same popup everytime. Also the version of |
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
go version
go version go1.21.5 darwin/arm64
gopls -v version
.code -v
.1.84.2. 1a5daa3a0231a0fbba4f14db7ec463cf99d7768 arm64
v0.40.0
Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) >
Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.Describe the bug
The VS Code Go extension is encountering an issue with the Golang language server connection, resulting in the following error messages:
Screenshots or recordings
The text was updated successfully, but these errors were encountered: