1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:14:45 -07:00
go/internal/lsp/testdata/godef/a
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
..
a.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
a.go.golden internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
d.go internal/lsp: fix definition tests to use golden files 2019-05-10 21:06:55 +00:00
d.go.golden internal/lsp: enable enhanced hover by default 2019-05-16 17:30:22 +00:00
random.go internal/lsp: add definition tests from godef 2018-11-19 18:17:22 +00:00
random.go.golden internal/lsp: enable enhanced hover by default 2019-05-16 17:30:22 +00:00