You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, vscode has become unable to save files normally. Every time I try to save the file, there are will popup a dialog shown in the video below , and will not disappeared. Saving 'xxx.go': Getting code actions from "Go"
CleanShot.2024-04-02.at.12.30.41.mp4
I have tried restarting and reinstalling vscode. but failed to fix the problem.
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
Run go version to get version of Go from the VS Code integrated terminal.
go version go1.22.1 darwin/arm64
Run gopls -v version to get version of Gopls from the VS Code integrated terminal.
golang.org/x/tools/gopls v0.15.2
Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.
1.87.2 arm64
Check your installed extensions to get the version of the VS Code Go extension
Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.
go: /usr/local/go/bin/go: go version go1.22.1 darwin/arm64
gopls: /Users/william/go/bin/gopls (version: v0.15.2 built with go: go1.22.0)
gotests: /Users/william/go/bin/gotests (version: v1.6.0 built with go: go1.22.0)
gomodifytags: /Users/william/go/bin/gomodifytags (version: v1.16.0 built with go: go1.22.0)
impl: /Users/william/go/bin/impl (version: v1.1.0 built with go: go1.22.0)
goplay: /Users/william/go/bin/goplay (version: v1.0.0 built with go: go1.22.0)
dlv: not installed
staticcheck: /Users/william/go/bin/staticcheck (version: v0.4.6 built with go: go1.22.0)
Recently, vscode has become unable to save files normally. Every time I try to save the file, there are will popup a dialog shown in the video below , and will not disappeared.
Saving 'xxx.go': Getting code actions from "Go"CleanShot.2024-04-02.at.12.30.41.mp4
I have tried restarting and reinstalling vscode. but failed to fix the problem.
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
go versionto get version of Go from the VS Code integrated terminal.gopls -v versionto get version of Gopls from the VS Code integrated terminal.code -vorcode-insiders -vto get version of VS Code or VS Code Insiders.Go: Locate Configured Go Toolscommand.Tools Configuration
Environment
GOBIN: undefined
toolsGopath:
gopath: /Users/william/go
GOROOT: /usr/local/go
PATH: /Users/william/miniconda3/bin:/Users/william/miniconda3/condabin:/Users/william/.nvm/versions/node/v21.5.0/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/share/dotnet:~/.dotnet/tools:/usr/local/go/bin:/Users/william/.cargo/bin:/Users/william/.orbstack/bin:/Users/william/go/bin:/bin:/Users/william/Library/Android/sdk/platform-tools:/Users/william/.dotnet/tools
Tools
Go env
Workspace Folder (canzhi-im): /Users/william/dev/github/williambao/canzhi-im