1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:04:52 -07:00
go/internal/lsp/cache
Rebecca Stambler 85a3356613 internal/lsp/cache: consolidate function to update overlays
This change merges the small helper functions that modified overlays
into a single function and removes the openFiles sync.Map in the view.

Change-Id: Id94c7d86228c9628b7373fab0030ad0c8018dda5
Reviewed-on: https://go-review.googlesource.com/c/tools/+/212037
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2019-12-19 21:06:08 +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: eliminate source.File type and move GetFile to snapshot 2019-12-19 20:51:25 +00:00
debug.go internal/lsp/cache: consolidate function to update overlays 2019-12-19 21:06:08 +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: eliminate source.File type and move GetFile to snapshot 2019-12-19 20:51:25 +00:00
load.go internal/lsp: put verbose go/packages output behind verboseOutput flag 2019-12-19 19:20:50 +00:00
modfiles.go internal/lsp: add gopls setting to disable use of -modfile flag behavior 2019-12-19 18:11:24 +00:00
overlay.go internal/lsp/cache: consolidate function to update overlays 2019-12-19 21:06:08 +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/cache: consolidate function to update overlays 2019-12-19 21:06:08 +00:00
snapshot.go internal/lsp: eliminate source.File type and move GetFile to snapshot 2019-12-19 20:51:25 +00:00
view.go internal/lsp: eliminate source.File type and move GetFile to snapshot 2019-12-19 20:51:25 +00:00