1
0
mirror of https://github.com/golang/go synced 2024-10-01 08:28:43 -06:00
go/internal/lsp/testdata
pjw 8979540587 internal/lsp: simplify and correct fixing imports for CodeAction
The code was introducting syntax errors for some edge cases (example in
regtest/import_test.go), and I found it hard to follow.

The new code passes all the tests. There are new regtests to guarantee
no CodeActions are returned for some cases that vim testing noticed.

Change-Id: Ia09da667f74673c11bfe185e4f76a76c66940105
Reviewed-on: https://go-review.googlesource.com/c/tools/+/233117
Run-TryBot: Peter Weinberger <pjw@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-05-18 22:54:12 +00:00
..
indirect internal/lsp/cmd: improve flexibility of suggested fixes 2020-03-06 14:31:35 +00:00
lsp internal/lsp: simplify and correct fixing imports for CodeAction 2020-05-18 22:54:12 +00:00
missingdep internal/lsp/cmd: improve flexibility of suggested fixes 2020-03-06 14:31:35 +00:00
missingtwodep internal/lsp/cmd: improve flexibility of suggested fixes 2020-03-06 14:31:35 +00:00
unused internal/lsp/cmd: improve flexibility of suggested fixes 2020-03-06 14:31:35 +00:00
upgradedep gopls: update dependencies in the go.mod 2020-05-18 20:39:08 +00:00