goplus / vscode-gop

Go/Go+ extension for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items?itemName=goplus.gop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't save gop file waiting for getting code actions occasionally

qinhongwei123 opened this issue · comments

commented

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.21.4 darwin/arm64
  • Run gopls -v version to get version of Gopls from the VS Code integrated terminal.
    • golang.org/x/tools/gopls@v0.14.2
  • Run goxls -v version to get version of Goxls from the VS Code integrated terminal.
    • golang.org/x/tools/gopls/goxls/cmd/goxls v0.13.2
  • Check your installed extensions to get the version of the VS Code Go extension
    • v0.1.0-dev

Describe the bug

can't save gop file waiting for getting code actions occasionally

Steps to reproduce the behavior:

happened occasionally

goxls log

2023/11/23 18:03:40
start="$/cancelRequest"
method="$/cancelRequest"
direction="in"
2023/11/23 18:03:40
metric=
started=1
received_bytes=86
2023/11/23 18:03:40
label=
status.code="OK"
2023/11/23 18:03:40
end=
2023/11/23 18:03:40
start="$/cancelRequest"
method="$/cancelRequest"
direction="in"
2023/11/23 18:03:40
metric=
started=1
received_bytes=86
2023/11/23 18:03:40
label=
status.code="OK"
2023/11/23 18:03:40
end=
2023/11/23 18:03:41
start="textDocument/codeLens"
method="textDocument/codeLens"
direction="in"
id="golang#392"
2023/11/23 18:03:41
metric=
started=1
received_bytes=190
2023/11/23 18:03:41
start="queued"
2023/11/23 18:03:42
start="textDocument/codeAction"
method="textDocument/codeAction"
direction="in"
id="#393"
2023/11/23 18:03:42
metric=
started=1
received_bytes=346
2023/11/23 18:03:42
start="queued"

Screenshots or recordings

image