1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:48:32 -06:00
go/internal
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
..
fastwalk internal/fastwalk: avoid slice bounds out of range for long file names 2018-11-12 23:16:31 +00:00
gopathwalk internal/gopathwalk: ignore $GOROOT/.../vendor/ in module mode 2018-11-07 20:51:50 +00:00
jsonrpc2 internal/jsonrpc2: change to a more synchronous dispatch model 2018-11-14 19:09:51 +00:00
lsp internal/lsp: add support for running goimports as a code action 2018-12-17 20:01:16 +00:00
memcache godoc: move third-party godoc deps behind build tag 2018-10-02 22:38:33 +00:00
semver go/packages: add name= query 2018-10-16 20:20:09 +00:00