1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:34:39 -07:00
go/internal/lsp/testdata/godef/a
Daisuke Suzuki 6e8b36d2c7 internal/lsp: add support for workspace symbol
This change adds support for the LSP workspace/symbol. Unlike
documentSymbol, the target is symbols that exist not only in a specific
file, but also in the current or imported packages. It returns symbols
whose name contains the query string of the request(case-insensitive),
or all symbols if the query string is empty.

However, the following is not implemented:
- Setting of deprecated and containerName fields in SymbolInformation
- Consideration of WorkspaceClientCapabilities
- Progress support
- CLI support

Updates golang/go#33844

Change-Id: Id2a8d3c468084b9d44228cc6ed2ad37c4b52c405
Reviewed-on: https://go-review.googlesource.com/c/tools/+/213317
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-02-05 19:03:17 +00:00
..
a_test.go internal/lsp: don't show links in hover for test functions 2020-02-03 21:56:10 +00:00
a_test.go.golden internal/lsp: don't show links in hover for test functions 2020-02-03 21:56:10 +00:00
a_x_test.go internal/lsp: don't show links in hover for test functions 2020-02-03 21:56:10 +00:00
a_x_test.go.golden internal/lsp: don't show links in hover for test functions 2020-02-03 21:56:10 +00:00
a.go internal/lsp: add support for workspace symbol 2020-02-05 19:03:17 +00:00
a.go.golden internal/lsp: add support for workspace symbol 2020-02-05 19:03:17 +00:00
d.go internal/lsp: fix link anchors for struct fields 2019-12-17 02:48:38 +00:00
d.go.golden internal/lsp: improve link in documentation on hover 2019-12-12 22:39:21 +00:00
f.go internal/lsp: fix references for type switch vars 2019-06-19 18:18:01 +00:00
f.go.golden internal/lsp: improve link in documentation on hover 2019-12-12 22:39:21 +00:00
random.go internal/lsp: add definition tests from godef 2018-11-19 18:17:22 +00:00
random.go.golden internal/lsp: improve link in documentation on hover 2019-12-12 22:39:21 +00:00