Skip to content

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

@qinhongwei123

Description

@qinhongwei123

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions