1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:34:40 -07:00
go/internal/lsp/cmd
Rebecca Stambler 7b79afddac internal/lsp: add a source.Package interface
This change adds a Package interface to the source package, which allows
us to reduce the information cached per-package (we don't use any of the
unnecessary fields in a *go/packages.Package).

This change also adds an analysis cache for each package, which is used
to cache the results of analyses to avoid recomputation.

Change-Id: I56c6b5ed51126c27f46731c87ac4eeacc63cb81a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/165750
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-03-12 16:49:27 +00:00
..
testdata internal/lsp/cmd: add the definition mode 2019-01-31 16:39:42 +00:00
cmd.go internal/lsp: use parallel parse files function 2019-02-13 04:21:09 +00:00
definition_test.go internal/lsp/cmd: add the definition mode 2019-01-31 16:39:42 +00:00
definition.go internal/lsp: add a source.Package interface 2019-03-12 16:49:27 +00:00
export_test.go internal/lsp/cmd: add the definition mode 2019-01-31 16:39:42 +00:00
location.go internal/lsp: absolutize paths when converting filenames to URIs 2019-02-21 00:07:07 +00:00
query.go internal/lsp/cmd: fix a nil pointer and some minor clean-up 2019-02-06 04:15:39 +00:00
serve.go lsp/internal: fix incorrectly formatted file 2019-02-13 16:29:12 +00:00