1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:14:43 -07:00
go/internal/lsp
Rebecca Stambler b8fc0e1722 internal/lsp: organize imports as a quickfix
This change adds the ability to organize all imports as quickfix on a
diagnostic, in addition to the standard "source.organizeImports" code
action kind. This change still requires a bit of work, since really, we
should only add one import per diagnostic and each edit should be the
edits necessary for the addition or removal of the individual import,
but this is a good start.

Change-Id: I57679446bec833d215c35533240102fb61c86f20
Reviewed-on: https://go-review.googlesource.com/c/tools/+/172397
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-04-16 19:07:07 +00:00
..
cache internal/lsp: avoid extra work in *cache.View.remove 2019-04-01 20:55:34 +00:00
cmd internal/lsp: handle definitions for variables with error types 2019-04-15 20:59:51 +00:00
diff internal/lsp: normalise and make public diff<->edit conversions 2019-04-15 20:31:36 +00:00
protocol cmd/gopls: fix incomplete ClientCapabilities struct 2019-04-09 15:09:02 +00:00
source internal/lsp: fix crash when there is a type alias to a struct in the symbols code 2019-04-16 15:17:39 +00:00
testdata internal/lsp: handle definitions for variables with error types 2019-04-15 20:59:51 +00:00
xlog internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
code_action.go internal/lsp: organize imports as a quickfix 2019-04-16 19:07:07 +00:00
completion.go internal/lsp: ignore errors for completion and signature help 2019-04-09 22:37:05 +00:00
diagnostics.go internal/lsp: log errors when diagnostics fail 2019-04-16 17:15:26 +00:00
format.go internal/lsp: normalise and make public diff<->edit conversions 2019-04-15 20:31:36 +00:00
highlight.go internal/lsp: add support for document highlight 2019-03-26 19:08:20 +00:00
lsp_test.go internal/lsp: handle definitions for variables with error types 2019-04-15 20:59:51 +00:00
server.go internal/lsp: ignore errors for completion and signature help 2019-04-09 22:37:05 +00:00
signature_help.go internal/lsp: ignore errors for completion and signature help 2019-04-09 22:37:05 +00:00
symbols.go internal/lsp: enhance document symbols support 2019-04-10 21:12:19 +00:00