1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:14:43 -07:00
go/internal/lsp/cache
Rebecca Stambler ca0407e66b internal/lsp: return snapshots from text modifications
Eliminate the file watcher, since it led to a lot of confusion and
difficulty reasoning about the flow of a file action. This change splits
a file invalidation into the two logical steps - 1) things that affect
the overlay, and 2) things that affect the view. It is based on top of
CL 211757, so the diffs will look better once that CL is merged.

Change-Id: I277475569b61f3c80feaa6b6fe457b4bace82e35
Reviewed-on: https://go-review.googlesource.com/c/tools/+/211777
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2019-12-18 22:53:40 +00:00
..
analysis.go internal/lsp/cache: move overlay and debug handling into separate files 2019-12-18 19:17:43 +00:00
builtin.go internal/lsp/cache: move overlay and debug handling into separate files 2019-12-18 19:17:43 +00:00
cache.go internal/lsp: return snapshots from text modifications 2019-12-18 22:53:40 +00:00
check.go internal/lsp: add diagnostic on import causing import cycle 2019-12-13 19:54:01 +00:00
debug.go internal/lsp/cache: move overlay and debug handling into separate files 2019-12-18 19:17:43 +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/cache: move overlay and debug handling into separate files 2019-12-18 19:17:43 +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: create parseModHandle for storing go.mod data 2019-12-13 22:03:54 +00:00
modfiles.go internal/lsp: use the -modfile flag to update a different go.mod file 2019-12-17 22:15:16 +00:00
overlay.go internal/lsp: return snapshots from text modifications 2019-12-18 22:53:40 +00:00
parse_mod.go internal/lsp: create parseModHandle for storing go.mod data 2019-12-13 22:03:54 +00:00
parse.go internal/lsp: create parseModHandle for storing go.mod data 2019-12-13 22:03:54 +00:00
pkg.go internal/lsp: set version correctly after textDocument/didOpen 2019-11-25 19:35:51 +00:00
session.go internal/lsp: return snapshots from text modifications 2019-12-18 22:53:40 +00:00
snapshot.go internal/lsp: return snapshots from text modifications 2019-12-18 22:53:40 +00:00
view.go internal/lsp: return snapshots from text modifications 2019-12-18 22:53:40 +00:00