1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:05:06 -07:00
go/internal/lsp/cmd/test
Kalman Bekesi b8f202ca5e tools/gopls: add command line support for links
This adds support for calling links from the gopls command line,
e.g.

$ gopls links ~/tmp/foo/main.go

Optional arguments are:
-json, which emits range and uri in JSON
With no arguments, a unique list of links are emitted.

Updates golang/go#32875

Change-Id: I1e7cbf00a636c05ccf21bd544d9a5b7742d5d70b
GitHub-Last-Rev: 7ed1e4612186bce4077d3c73f2407cf6def211d9
GitHub-Pull-Request: golang/tools#181
Reviewed-on: https://go-review.googlesource.com/c/tools/+/203297
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-11-01 17:18:15 +00:00
..
check.go internal/lsp: add a test to make sure we handle bad imports 2019-10-17 20:52:05 +00:00
cmdtest.go tools/gopls: add command line support for links 2019-11-01 17:18:15 +00:00
definition.go internal/lsp: use options hooks to install diff driver 2019-10-11 16:38:31 +00:00
format.go internal/lsp: use options hooks to install diff driver 2019-10-11 16:38:31 +00:00
imports.go tools/gopls: add command line support for imports 2019-10-29 17:11:47 +00:00
links.go tools/gopls: add command line support for links 2019-11-01 17:18:15 +00:00
references.go tools/gopls: add cmd support for references 2019-10-25 16:51:12 +00:00
rename.go internal/lsp: use options hooks to install diff driver 2019-10-11 16:38:31 +00:00
signature.go tools/gopls: add cmd support for signature 2019-10-31 22:07:37 +00:00
suggested_fix.go tools/gopls: add command line support for suggestedfix 2019-10-30 23:29:56 +00:00