profile
viewpoint

Ask questionsFrequent pop-up on save: "Getting code actions: Go, Go, ..."

Copied from https://github.com/microsoft/vscode-go/issues/3179:

If you encounter this issue, please try the following steps to troubleshoot:

  1. Check your other installed extensions and see if disabling them but the Go extension helps. Go Group Imports, Spell Right, and Go Test Explorer have both been identified as causing slow saves.
  2. Your workspace may have errors which are causing gopls to be slow. Capture your gopls logs (instructions) and post them in a new issue (if you're able to share them). Detailed gopls logs are best, so please add -rpc.trace to go.languageServerFlags.

For reference, this bug is referring to an error that appears like this:

79361744-b837eb00-7f13-11ea-8bae-9683b4b61afc

This issue consolidates https://github.com/microsoft/vscode-go/issues/3179, https://github.com/microsoft/vscode-go/issues/3063, https://github.com/microsoft/vscode-go/issues/3105, https://github.com/microsoft/vscode-go/issues/3141, https://github.com/microsoft/vscode-go/issues/3170, etc.

golang/vscode-go

Answer questions stamblerre

@nadgowdas: Please see the instructions in the first comment of the issue. If that doesn't resolve the problem, please open a new issue.

useful!
source:https://uonfu.com/
Github User Rank List