1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:18:32 -06:00
go/internal/lsp
Zac Bergquist 2538eef759 internal/lsp: enhance document symbols support
Make methods children of their receiver's type symbol.
Add struct fields as children of the struct's type symbol.
Also identify numeric, boolean, and string types.

Updates golang/go#30915
Fixes golang/go#31202

Change-Id: I33c4ea7b953e981ea1e858505b77c7a3ba6ee399
Reviewed-on: https://go-review.googlesource.com/c/tools/+/170198
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-04-10 21:12:19 +00:00
..
cache internal/lsp: avoid extra work in *cache.View.remove 2019-04-01 20:55:34 +00:00
cmd cmd/gopls: fix incomplete ClientCapabilities struct 2019-04-09 15:09:02 +00:00
diff internal/lsp: change diff tests to take strings not string arrays to make them more realistic 2019-04-07 02:04:52 +00:00
protocol cmd/gopls: fix incomplete ClientCapabilities struct 2019-04-09 15:09:02 +00:00
source internal/lsp: enhance document symbols support 2019-04-10 21:12:19 +00:00
testdata internal/lsp: enhance document symbols support 2019-04-10 21:12:19 +00:00
xlog internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
code_action.go internal/lsp: refactor code actions 2019-04-06 23:57:00 +00:00
completion.go internal/lsp: ignore errors for completion and signature help 2019-04-09 22:37:05 +00:00
diagnostics.go internal/lsp: support multiple views 2019-04-01 20:12:29 +00:00
format.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
highlight.go internal/lsp: add support for document highlight 2019-03-26 19:08:20 +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: enhance document symbols support 2019-04-10 21:12:19 +00:00
server.go internal/lsp: ignore errors for completion and signature help 2019-04-09 22:37:05 +00:00
signature_help.go internal/lsp: ignore errors for completion and signature help 2019-04-09 22:37:05 +00:00
symbols.go internal/lsp: enhance document symbols support 2019-04-10 21:12:19 +00:00