1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:05:02 -07:00
go/internal/lsp/cache
Rebecca Stambler e6ce0ddf03 internal/lsp: add an implementation for textDocument/didSave
This change marks the overlay for a saved file as "on disk".
This will reduce the number of overlays we provide to go/packages, which
can be expensive.

Updates golang/go#31796, golang/go#32457

Change-Id: I8e69503ab80bba29caf4e42491d87e643bf17f1a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/181123
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Reviewed-by: Peter Weinberger <pjw@google.com>
2019-06-10 16:29:40 +00:00
..
cache.go internal/lsp: change file system to allow lazy reads 2019-06-06 01:09:34 +00:00
check.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
external.go internal/lsp: remove source.FileContent 2019-06-06 05:02:23 +00:00
file.go internal/lsp: remove source.FileContent 2019-06-06 05:02:23 +00:00
gofile.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
load.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
modfile.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
parse.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
pkg.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
session.go internal/lsp: add an implementation for textDocument/didSave 2019-06-10 16:29:40 +00:00
sumfile.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
view.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
watcher.go internal/lsp: add file watching and use it to trigger invalidations 2019-05-24 14:03:12 +00:00