go/internal/lsp/cache
Rob Findley 463111b698 internal/lsp: add a command to generate the gopls.mod file
Wire up a command to generate a gopls.mod file for a multi-module
workspace. In the future, this can actually be used to manage the
workspace, but for now the file is just generated, not actually used.

For golang/go#32394

Change-Id: I8a53da8ac9337bde132c7d8ca8557467f368fc24
Reviewed-on: https://go-review.googlesource.com/c/tools/+/256042
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Robert Findley <rfindley@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-09-23 18:26:40 +00:00
..
analysis.go internal/memoize: switch from GC-driven to explicit deletion 2020-08-10 19:02:17 +00:00
cache.go internal/lsp/cache: populate URI on files with errors 2020-09-21 18:19:13 +00:00
check.go all: replace 'the the ' with 'the ' 2020-09-21 21:00:52 +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: add support for RelatedInformation in diagnostics 2020-09-04 18:57:47 +00:00
keys.go internal/lsp: decouple client and server debug 2020-06-11 13:49:48 +00:00
load.go internal/lsp: rewrite createView to populate fields independently 2020-09-21 20:45:50 +00:00
mod.go internal/lsp: rewrite createView to populate fields independently 2020-09-21 20:45:50 +00:00
mod_tidy.go internal/lsp/cache: automatically construct the workspace module 2020-09-11 04:00:25 +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: trim ellipsis array literals 2020-08-12 23:16:40 +00:00
parse_test.go internal/lsp/cache: trim ellipsis array literals 2020-08-12 23:16:40 +00:00
pkg.go internal/lsp: enable multi-module workspace mode by default in tests 2020-09-15 20:16:39 +00:00
session.go internal/lsp: ignore errors when finding workspace modules 2020-09-23 05:37:13 +00:00
snapshot.go internal/lsp: add a command to generate the gopls.mod file 2020-09-23 18:26:40 +00:00
view.go internal/lsp: rewrite createView to populate fields independently 2020-09-21 20:45:50 +00:00
view_test.go internal/lsp/cache: validate workspace path case 2020-03-27 19:55:53 +00:00