1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:44:42 -07:00
go/internal/lsp/cache
Rebecca Stambler 2346320968 internal/lsp: support builtin types without hardcoding
This change uses an *ast.Package built from the file
go/src/builtin/builtin.go. Completion (and ultimately other features)
will be resolved using this AST instead of being hardcoded.

Change-Id: I3e34030b3236994faa484cf17cf75da511165133
Reviewed-on: https://go-review.googlesource.com/c/tools/+/174381
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-05-01 04:50:30 +00:00
..
check.go internal/lsp: return errors when we can't find a package 2019-04-25 18:52:35 +00:00
file.go internal/lsp: return errors when we can't find a package 2019-04-25 18:52:35 +00:00
parse.go internal/lsp: handle completion after defer, go statements 2019-04-24 22:01:01 +00:00
pkg.go internal/lsp: handle nil pointer in (*Package).GetActionGraph 2019-04-29 18:40:48 +00:00
view.go internal/lsp: support builtin types without hardcoding 2019-05-01 04:50:30 +00:00