1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:44:45 -07:00
go/internal/lsp/fake
Rebecca Stambler ab2804fb9c internal/lsp: don't offer suggested fixes for generated files
As suggested on Slack, a better fix for golang/go#38467 would be to hide
suggested fixes on generated files. This way, the diagnostics are still
visible but files are not unintentionally modified.

Also, deleted the SuggestedFixes field on source.Diagnostic, since it's
entirely unused.

Change-Id: I10756471e0f913465b1cccd7f222eea0f4de77fe
Reviewed-on: https://go-review.googlesource.com/c/tools/+/230999
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-05-01 06:56:59 +00:00
..
client.go internal/lsp/regtest: track outstanding work using the progress API 2020-04-23 20:44:50 +00:00
doc.go internal/lsp/fake: add fakes for testing editor interaction 2020-02-10 17:44:19 +00:00
edit_test.go internal/lsp/regtest: implement formatting and organizeImports 2020-03-02 19:16:53 +00:00
edit.go internal/lsp/fake: add regexp search and replace 2020-03-24 20:17:55 +00:00
editor_test.go internal/lsp/regtest: add support for custom test proxy data 2020-04-16 19:38:27 +00:00
editor.go internal/lsp: don't offer suggested fixes for generated files 2020-05-01 06:56:59 +00:00
workspace_test.go internal/lsp/regtest: add support for custom test proxy data 2020-04-16 19:38:27 +00:00
workspace.go internal/lsp/fake: clean up Workspace.proxydir on close 2020-04-28 02:10:58 +00:00