1
0
mirror of https://github.com/golang/go synced 2024-10-01 08:28:43 -06:00
go/internal/lsp/source
Suzy Mueller db2fa46ec3 internal/lsp: compare mod file versions used in imports
The results of running 'go list -m' are only valid as long as the
current module and the modules in its replace directives do not
change their go.mod files. Store the 'go.mod' versions that are
used in the imports call, and reinitialize the module resolver if
they change.

Change-Id: Idb73c92b9e4dc243a276885e5333fafd2315134d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/186597
Run-TryBot: Suzy Mueller <suzmue@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-07-27 17:31:35 +00:00
..
analysis.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
completion_format.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
completion_snippet.go internal/lsp: provide deep completion candidates 2019-06-27 18:58:03 +00:00
completion.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
deep_completion.go internal/lsp: provide deep completion candidates 2019-06-27 18:58:03 +00:00
diagnostics_test.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
diagnostics.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
enums.go internal/lsp: switch completion item tests to using the enum strings 2019-04-17 17:57:43 +00:00
format.go internal/lsp: compare mod file versions used in imports 2019-07-27 17:31:35 +00:00
highlight.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
hover.go internal/lsp: reduce trace package to minimal StartSpan for now 2019-07-11 17:25:55 +00:00
identifier.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
references.go internal/lsp: reduce trace package to minimal StartSpan for now 2019-07-11 17:25:55 +00:00
rename_check.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
rename.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
signature_help.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
source_test.go internal/lsp: purge the remains of the xlog system now it is not used 2019-07-18 19:11:56 +00:00
suggested_fix_experimental.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
suggested_fix.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
symbols.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
util.go internal/lsp: handle language ID in didOpen calls 2019-07-12 19:25:23 +00:00
view.go internal/lsp: compare mod file versions used in imports 2019-07-27 17:31:35 +00:00