1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:54:42 -07:00
go/internal/lsp/cmd
Rebecca Stambler bffc5affc6 internal/lsp: support definitions and hover for builtins
This change adds support for definitions and hover for builtin types and
functions. It also includes some small (non-logic) changes to the import
spec definition function.

Additionally, there are some resulting changes in diagnostics to ignore
the builtin file but also use it for definitions (Ian, you were right
with your comment on my earlier review...).

Fixes golang/go#31696

Change-Id: I52d43d010a5ca8359b539c33e40782877eb730d0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/177517
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-05-17 00:35:10 +00:00
..
check_test.go internal/lsp: making cmd tests fast and small 2019-05-10 20:14:07 +00:00
check.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
cmd_race_test.go internal/lsp: extract the common test logic 2019-04-22 16:50:02 +00:00
cmd_test.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
cmd.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
definition_test.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
definition.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
export_test.go internal/lsp: refactor query definition test to allow adding a new test 2019-03-18 20:06:54 +00:00
format_test.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
format.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
info.go internal/lsp: add version and bug commands 2019-05-11 04:16:02 +00:00
query.go internal/lsp: fix query cmd usage 2019-04-22 18:06:03 +00:00
serve.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00