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
Milestone

Comments

@muirdm
Copy link

@muirdm 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 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 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

@gopherbot gopherbot commented Jul 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.