Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: spammy "computing fix edits" errors #40260

Closed
muirdm opened this issue Jul 16, 2020 · 1 comment
Closed

x/tools/gopls: spammy "computing fix edits" errors #40260

muirdm opened this issue Jul 16, 2020 · 1 comment
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

Comments

@muirdm
Copy link

muirdm commented Jul 16, 2020

I'm constantly getting computing fix edits: <file>: <error> LSP server errors popping up in Emacs as I type. For example:

package main

func main() {
	map[string]string{
		"foo": "bar"
	}
}

If you request completions after "bar", I see an error computing fix edits: /Users/muir/scratch/foo/foo.go:5:15: missing ',' before newline in composite literal. This error is expected and handled by normal diagnostics so I don't think it should be reported as a language server error.

@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Jul 16, 2020
@muirdm muirdm changed the title x/tools/gopls: Spammy "computing fix edits" errors x/tools/gopls: spammy "computing fix edits" errors Jul 16, 2020
@gopherbot gopherbot added the gopls Issues related to the Go language server, gopls. label Jul 16, 2020
@gopherbot gopherbot added this to the Unreleased milestone Jul 16, 2020
@stamblerre stamblerre modified the milestones: Unreleased, gopls/v0.4.4 Jul 16, 2020
@gopherbot
Copy link

Change https://golang.org/cl/243238 mentions this issue: internal/lsp: log errors for compute fix edits instead of returning

@golang golang locked and limited conversation to collaborators Jul 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
Development

No branches or pull requests

3 participants