mirror of
https://github.com/golang/go
synced 2024-11-06 00:26:11 -07:00
e4e22f76d0
This change adds support when hierarchicalDocumentSymbolSupport is false, this can happen with editors who have not supported textDocument/DocumentSymbol. As a result, these older lsp clients need to recieve []protocol.SymbolInformation rather than []protocol.DocumentSymbol. This change required some changes to internal/lsp/cmd to handle not knowing which type it is receiving, this required manual parsing inside of cmd/symbols.go. Fixes golang/go#34893 Change-Id: I944ae24302f155b561047227f65bee34b160def1 Reviewed-on: https://go-review.googlesource.com/c/tools/+/221823 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
test | ||
capabilities_test.go | ||
check.go | ||
cmd_test.go | ||
cmd.go | ||
definition.go | ||
export_test.go | ||
folding_range.go | ||
format.go | ||
highlight.go | ||
implementation.go | ||
imports.go | ||
info.go | ||
links.go | ||
prepare_rename.go | ||
query.go | ||
references.go | ||
rename.go | ||
serve_test.go | ||
serve.go | ||
signature.go | ||
suggested_fix.go | ||
symbols.go |