1
0
mirror of https://github.com/golang/go synced 2024-10-01 03:28:32 -06:00
go/internal/lsp/source
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
..
analysis.go internal/lsp: use new go/packages LoadMode to get TypesSizes 2019-03-29 21:52:04 +00:00
completion.go cmd/lsp: skip completion in string literals 2019-03-15 16:51:35 +00:00
definition.go internal/lsp: add correct handling for circular imports 2019-03-15 16:49:21 +00:00
diagnostics.go internal/lsp: make definition use the lsp protocol 2019-04-05 17:02:55 +00:00
format.go internal/lsp: stop formatting on files that do not parse 2019-04-08 22:03:57 +00:00
highlight.go internal/lsp: add support for document highlight 2019-03-26 19:08:20 +00:00
signature_help.go internal/lsp: add correct handling for circular imports 2019-03-15 16:49:21 +00:00
symbols.go internal/lsp: enhance document symbols support 2019-04-10 21:12:19 +00:00
view.go internal/lsp: handle undelivered diagnostics 2019-04-01 16:39:43 +00:00