1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:04:40 -07:00
go/internal/lsp/cache
Rebecca Stambler ac417207ef internal/lsp: run packages.Load only if imports are added or changed
Previously, we would reload if a user's import list decreased or simply
changed order. This is not necessary. Now, we only re-run if a new import
needs to be loaded.

Updates golang/go#35388

Change-Id: I47874afe773dddb835ac27b18895e7a082950dc7
Reviewed-on: https://go-review.googlesource.com/c/tools/+/209057
Reviewed-by: Heschi Kreinick <heschi@google.com>
2019-12-05 01:20:12 +00:00
..
analysis.go internal/lsp: rename CheckPackageHandle to PackageHandle 2019-12-02 18:29:46 +00:00
builtin.go internal/lsp: rename Files to CompiledGoFiles 2019-11-20 22:19:51 +00:00
cache.go internal/lsp: use options hooks to install diff driver 2019-10-11 16:38:31 +00:00
check.go internal/lsp: always ParseFull in-workspace dependencies 2019-12-04 21:49:57 +00:00
error_test.go internal/lsp: refactor error handling code in type-checking 2019-10-21 18:57:46 +00:00
errors.go internal/lsp/source: extract helper, improve error messages 2019-12-04 19:34:30 +00:00
external.go internal/lsp: use versioned URIs in rename and code actions 2019-11-13 05:52:40 +00:00
file.go internal/lsp: modify approach to watching changed files 2019-10-22 21:33:45 +00:00
load.go internal/lsp: run packages.Load only if imports are added or changed 2019-12-05 01:20:12 +00:00
parse.go internal/lsp: improve completion after accidental keywords 2019-12-03 04:30:02 +00:00
pkg.go internal/lsp: set version correctly after textDocument/didOpen 2019-11-25 19:35:51 +00:00
session.go internal/lsp: suppress all errors when a view is loaded and checked 2019-12-02 18:41:08 +00:00
snapshot.go internal/lsp/cache: fix load race, refactor 2019-12-04 01:13:08 +00:00
view.go internal/lsp: track and parse non-compiled go files 2019-11-25 19:20:50 +00:00
watcher.go internal/lsp/cache: add finer-grained control of file changes 2019-11-14 16:11:15 +00:00