1
0
mirror of https://github.com/golang/go synced 2024-10-01 07:38:32 -06:00
go/internal/lsp/mod/testdata
Rohan Challa de0b176007 internal/lsp: show dependency quick fixes for go.mod diagnostics
This change adds quickfixes for unused dependencies and dependencies that should not be marked as indirect. It also updates the positions for the diagnostics to make more sense relative to the warning message. There is a testing harness now for suggested fixes.

Updates golang/go#31999

Change-Id: I0db3382bf892fcc2d9ab3b633020d9167a0ad09b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/213917
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-01-15 16:51:05 +00:00
..
indirect internal/lsp: show dependency quick fixes for go.mod diagnostics 2020-01-15 16:51:05 +00:00
invalidgo internal/lsp: surface diagnostics for invalid go.mod files 2020-01-13 15:48:38 +00:00
invalidrequire internal/lsp: show dependency quick fixes for go.mod diagnostics 2020-01-15 16:51:05 +00:00
unchanged internal/lsp/mod: test go.mod is unchanged when tempModfile=true 2020-01-10 14:27:00 +00:00
unknowndirective internal/lsp: surface diagnostics for invalid go.mod files 2020-01-13 15:48:38 +00:00
unused internal/lsp: show dependency quick fixes for go.mod diagnostics 2020-01-15 16:51:05 +00:00