1
0
mirror of https://github.com/golang/go synced 2024-10-01 08:28:43 -06:00
go/internal/lsp/source
Rebecca Stambler 57eff0d8ac internal/lsp: add support for running goimports as a code action
This change adds support for goimports as a code action that can be run
on save. However, there do appear to be issues with the propagation of
the context.Only field of the CodeActionParams, so we treat every
codeAction as an organizeImports action - this should be fixed in the
next vscode-languageclient release
(https://github.com/Microsoft/vscode-languageserver-node/issues/442).

Change-Id: I64ca0034c393762248fde6521aba86ed9d41bf70
Reviewed-on: https://go-review.googlesource.com/c/154338
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2018-12-17 20:01:16 +00:00
..
completion.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
definition.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
diagnostics.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
file.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
format.go internal/lsp: add support for running goimports as a code action 2018-12-17 20:01:16 +00:00
hover.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
signature_help.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
uri_test.go internal/lsp/source: avoid having build tagged files for uri 2018-12-17 19:55:17 +00:00
uri.go internal/lsp/source: avoid having build tagged files for uri 2018-12-17 19:55:17 +00:00