1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:04:52 -07:00
go/internal/lsp
Rebecca Stambler 4796d4bd3d internal/lsp: use ast.Nodes for hover information
This change associates an ast.Node for some object declarations.
In this case, we only handle type declarations, but future changes will
support other objects as well. This is the first step in adding
documentation on hover.

Updates golang/go#29151

Change-Id: I39ddccf4130ee3b106725286375cd74bc51bcd38
Reviewed-on: https://go-review.googlesource.com/c/tools/+/172661
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-04-18 23:52:43 +00:00
..
cache internal/lsp: use ast.Nodes for hover information 2019-04-18 23:52:43 +00:00
cmd internal/lsp: check content format instead of assuming markdown 2019-04-17 21:38:10 +00:00
diff internal/lsp: normalise and make public diff<->edit conversions 2019-04-15 20:31:36 +00:00
protocol internal/lsp/protocol: add a compare function for span.URI 2019-04-17 22:30:02 +00:00
source internal/lsp: use ast.Nodes for hover information 2019-04-18 23:52:43 +00:00
testdata internal/lsp: a cleaner way of doing overlays 2019-04-17 21:35:05 +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: run source.organizeImports on all codeActions 2019-04-16 21:54:00 +00:00
completion.go internal/lsp: trigger signature help after completing a function 2019-04-17 21:12:31 +00:00
definition.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
diagnostics.go internal/lsp: set the diagnostic source earlier 2019-04-17 00:57:43 +00:00
format.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
general.go internal/lsp: use ast.Nodes for hover information 2019-04-18 23:52:43 +00:00
highlight.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
hover.go internal/lsp: use ast.Nodes for hover information 2019-04-18 23:52:43 +00:00
lsp_test.go internal/lsp: a cleaner way of doing overlays 2019-04-17 21:35:05 +00:00
server.go internal/lsp: use ast.Nodes for hover information 2019-04-18 23:52:43 +00:00
signature_help.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
symbols.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
text_synchronization.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
util.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00