1
0
mirror of https://github.com/golang/go synced 2024-10-01 03:28:32 -06:00
go/internal/lsp/cache
Rebecca Stambler 0f9bb8f614 internal/lsp: only cache type information for active packages
Currently, we cache source.CheckPackageHandles for each file and package
that we are aware of, as well as dependencies. This is not necessary,
since the active packages pin their imports in memory.

Change-Id: Ia0101f4d4a2d36d5baeb890af3d7c8baec297847
Reviewed-on: https://go-review.googlesource.com/c/tools/+/196982
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-09-23 23:01:26 +00:00
..
analysis.go internal/lsp: make the analyzers configurable per view 2019-09-23 16:54:13 +00:00
builtin.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
cache.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
check.go internal/lsp: only cache type information for active packages 2019-09-23 23:01:26 +00:00
external.go internal/lsp: only cache type information for active packages 2019-09-23 23:01:26 +00:00
file.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
gofile.go internal/lsp: cache multiple packages depending on parse modes 2019-09-23 21:39:02 +00:00
load.go internal/lsp: only cache type information for active packages 2019-09-23 23:01:26 +00:00
modfile.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
parse.go internal/lsp: fix infinite recursion while fixing AST 2019-09-19 16:27:28 +00:00
pkg.go internal/lsp: make sure that deps are only checked in trimmed mode 2019-09-19 22:30:14 +00:00
session.go internal/lsp: make the analyzers configurable per view 2019-09-23 16:54:13 +00:00
sumfile.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
token.go internal/lsp: unlabel context, log errors when canceled 2019-08-20 20:39:21 +00:00
view.go internal/lsp: cache multiple packages depending on parse modes 2019-09-23 21:39:02 +00:00
watcher.go internal/lsp: fix deadlocks loading lots of files at once 2019-07-03 17:22:52 +00:00