1
0
mirror of https://github.com/golang/go synced 2024-10-01 08:18:32 -06:00
go/internal/lsp/source
Rebecca Stambler 62e1d13d53 internal/lsp: add basic support for hover
This change adds a very simple implementation of hovering. It doesn't
show any documentation, just the object string for the given object.

Also, this change sets the prefix for composite literals, making sure we
don't insert duplicate text.

Change-Id: Ib706ec821a9e459a6c61c10f5dd28d1798944fa3
Reviewed-on: https://go-review.googlesource.com/c/152599
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2018-12-05 22:25:06 +00:00
..
completion.go internal/lsp: add basic support for hover 2018-12-05 22:25:06 +00:00
definition.go internal/lsp: add basic support for hover 2018-12-05 22:25:06 +00:00
diagnostics.go internal/lsp: move diagnostics logic to source directory 2018-11-12 22:54:56 +00:00
file.go internal/lsp: make format work on the ast not the source 2018-11-12 21:02:38 +00:00
format.go internal/lsp: fix and add tests for formatting 2018-11-15 19:42:43 +00:00
hover.go internal/lsp: add basic support for hover 2018-12-05 22:25:06 +00:00
signature_help.go internal/lsp: implement signature help 2018-11-13 20:09:34 +00:00
uri.go internal/lsp: handle $GOROOT in file paths 2018-11-15 01:11:54 +00:00
view.go internal/lsp: make source independent of protocol 2018-11-07 18:42:35 +00:00