go/internal/lsp/cache
Robert Findley a79ee0f0f0 Revert "Revert "internal/lsp/cache: don't pin a snapshot to view.importsState"
This reverts CL 416879, which itself was a revert of CL 416874.

Reason for revert: failure is understood now, as described in 
https://github.com/golang/go/issues/53796#issuecomment-1181157704 and fixed in CL 416881.

Change-Id: I1d6a4ae46fbb1bf78e2f23656de7885b439f43fb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/416882
Reviewed-by: Alan Donovan <adonovan@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-07-12 14:39:12 +00:00
..
analysis.go internal/memoize: delete Generation and Bind 2022-07-08 19:22:01 +00:00
cache.go internal/lsp/cache: clarify buildPackageHandle 2022-07-01 16:54:30 +00:00
check.go internal/memoize: document stateIdle, RefCounted 2022-07-08 19:48:04 +00:00
debug.go internal/lsp/cache: build a new metadata graph on load 2022-06-16 15:50:09 +00:00
error_test.go internal/lsp/cache: split up sourceDiagnostics 2021-03-02 02:05:13 +00:00
errors.go internal/span: make NewRange accept File, not FileSet 2022-07-06 19:40:50 +00:00
graph.go internal/lsp/cache: use GetHandle not Bind in astCacheData 2022-07-07 02:48:48 +00:00
imports.go Revert "Revert "internal/lsp/cache: don't pin a snapshot to view.importsState" 2022-07-12 14:39:12 +00:00
keys.go internal/lsp: decouple client and server debug 2020-06-11 13:49:48 +00:00
load.go internal/lsp/cache: fail addPackageHandle if metadata is stale 2022-07-08 17:11:40 +00:00
maps.go internal/lsp/cache: simplify ParseGo 2022-07-08 18:52:03 +00:00
metadata.go internal/lsp/cache: sort Metadata.Deps, for determinism 2022-07-01 17:30:37 +00:00
mod.go internal/memoize: delete Generation and Bind 2022-07-08 19:22:01 +00:00
mod_tidy.go internal/memoize: delete Generation and Bind 2022-07-08 19:22:01 +00:00
os_darwin.go internal/lsp/cache: clarify an error message about mismatching casing 2021-08-03 17:18:10 +00:00
os_windows.go internal/lsp/cache: clarify an error message about mismatching casing 2021-08-03 17:18:10 +00:00
parse.go internal/memoize: delete Generation and Bind 2022-07-08 19:22:01 +00:00
parse_test.go internal/lsp/cache: trim more stuff in ParseExported mode 2021-05-11 17:48:41 +00:00
parsemode_go116.go internal/lsp/cache: use cached parsed files for symbols, if available 2022-05-09 17:04:06 +00:00
parsemode_go117.go internal/lsp/cache: use cached parsed files for symbols, if available 2022-05-09 17:04:06 +00:00
pkg.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
session.go internal/lsp/cache: make snapshot reference counting uniform 2022-07-11 18:57:05 +00:00
snapshot.go Revert "Revert "internal/lsp/cache: don't pin a snapshot to view.importsState" 2022-07-12 14:39:12 +00:00
symbols.go internal/memoize: delete Generation and Bind 2022-07-08 19:22:01 +00:00
view.go internal/lsp/cache: make snapshot reference counting uniform 2022-07-11 18:57:05 +00:00
view_test.go internal/lsp/cache: always consider go.work files for ws expansion 2022-03-07 16:11:49 +00:00
workspace.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
workspace_test.go internal/lsp/cache: construct workspace even when go.work has error 2022-03-03 21:30:30 +00:00