1
0
mirror of https://github.com/golang/go synced 2024-11-19 06:34:42 -07:00
go/internal/lsp/cache
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
..
cache.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
check.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
file.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
parse.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
pkg.go internal/lsp: reduce the api surface of the cache package 2019-05-15 16:36:46 +00:00
session.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
view.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00