tools/internal/lsp
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
..
cache internal/lsp: use rootURI as config.Dir in packages.Load 2018-12-12 19:28:52 +00:00
protocol internal/lsp/protocol: use correct JSON name for RootURI 2018-12-11 20:04:12 +00:00
source internal/lsp: add support for running goimports as a code action 2018-12-17 20:01:16 +00:00
testdata internal/lsp: implement type definitions 2018-12-04 18:51:09 +00:00
completion.go internal/lsp: improve handling of code completion snippets 2018-12-07 19:59:48 +00:00
diagnostics.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
format.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
imports.go internal/lsp: add support for running goimports as a code action 2018-12-17 20:01:16 +00:00
lsp110_test.go internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
lsp_test.go internal/lsp/source: avoid having build tagged files for uri 2018-12-17 19:55:17 +00:00
position.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
server.go internal/lsp: add support for running goimports as a code action 2018-12-17 20:01:16 +00:00
signature_help.go internal/lsp: implement signature help 2018-11-13 20:09:34 +00:00