1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:28:32 -06:00
go/internal/lsp/mod
Rebecca Stambler 9d5940d493 internal/lsp: refactor and propagate errors from code actions
This change makes sure that all errors in code actions are returned,
instead of ignored. There is also a refactoring of the suggested fixes
for go.mod files so that we don't compute them unless there is already a
matching diagnostic.

Change-Id: I34afda0116f3cc7e47809d980a0171487787e55e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/221221
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rohan Challa <rohan@golang.org>
2020-03-31 20:20:46 +00:00
..
testdata/unchanged internal/lsp/tests: fix reset of golden files 2020-02-19 14:42:13 +00:00
code_lens.go internal/telemetry: add type safe tag keys 2020-03-18 13:29:43 +00:00
diagnostics.go internal/lsp: refactor and propagate errors from code actions 2020-03-31 20:20:46 +00:00
format.go internal/lsp: migrate telemetry to using the event package 2020-03-12 03:59:16 +00:00
hover.go internal/lsp: migrate telemetry to using the event package 2020-03-12 03:59:16 +00:00
mod_test.go internal/lsp: fix errors found by staticcheck 2020-03-19 19:20:54 +00:00