1
0
mirror of https://github.com/golang/go synced 2024-11-05 16:06:10 -07:00
go/internal/lsp/cache
Heschi Kreinick 6c149bb5ef internal/lsp/cache: store parseGoHandles
parseGoHandles have lifetimes separate from the packages they belong to.
For example, a package may be invalidated by a change to one of its
files, but we still want to retain the parse results for all the rest.
Track them explicitly.

Change-Id: I03a4ffe283bf2b252d2d838bdb2cf332cd981075
Reviewed-on: https://go-review.googlesource.com/c/tools/+/245059
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-08-04 01:15:35 +00:00
..
analysis.go internal/lsp: remove PackageHandle 2020-07-28 17:35:25 +00:00
cache.go internal/lsp: separate LSP files from FS files 2020-08-03 22:16:06 +00:00
check.go internal/lsp/cache: store parseGoHandles 2020-08-04 01:15:35 +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: replace ParseGoHandle with concrete data 2020-07-28 17:35:11 +00:00
keys.go internal/lsp: decouple client and server debug 2020-06-11 13:49:48 +00:00
load.go internal/lsp: move builtin package to Snapshot 2020-08-03 22:09:14 +00:00
mod_tidy.go internal/lsp: separate LSP files from FS files 2020-08-03 22:16:06 +00:00
mod.go internal/lsp: separate LSP files from FS files 2020-08-03 22:16:06 +00:00
os_darwin.go internal/lsp: add a mutex around the view's options 2020-04-02 16:41:49 +00:00
os_windows.go internal/lsp/cache: validate workspace path case 2020-03-27 19:55:53 +00:00
parse.go internal/lsp/cache: store parseGoHandles 2020-08-04 01:15:35 +00:00
pkg.go internal/lsp: fix a few staticcheck suggestions, some cleanup 2020-07-29 17:11:59 +00:00
session.go internal/lsp/cache: store parseGoHandles 2020-08-04 01:15:35 +00:00
snapshot.go internal/lsp/cache: store parseGoHandles 2020-08-04 01:15:35 +00:00
view_test.go internal/lsp/cache: validate workspace path case 2020-03-27 19:55:53 +00:00
view.go internal/lsp: separate LSP files from FS files 2020-08-03 22:16:06 +00:00