x/tools/gopls: "getting code actions" on file save #60631
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Gopls stats
What did you do?
Fixed the following broken code by replacing
bytes.NewReader
withstrings.NewReader
and then and triggered file save (so code action)What did you expect to see?
Code action response with high latency. (VS Code shows the notorious "Saving "main.go": Getting Code Action From Go..." popup)
What did you see instead?
Editor and settings
VS Code Go Nightly
vscode settings:
Logs
I manually triggered file save which corresponds to message
seq 46
. Note that there were diagnostics and completion requests queued up due to my file edits (deletebytes
and typestrings
) before file save.The text was updated successfully, but these errors were encountered: