1
0
mirror of https://github.com/golang/go synced 2024-11-18 06:54:49 -07:00
go/internal/lsp/fake
Rebecca Stambler f4cefd1cb5 internal/lsp: enable multi-module workspace mode by default in tests
This change enables the multi-module workspace mode by default, so that
we can catch all of the test failures and edge cases. It is still
disabled in GOPATH mode and for any workspaces that contain a module
with a vendor directory.

A few minor changes had to be made to handle changes caused by the
workspace module pseudoversions.

Updates golang/go#32394

Change-Id: Ib433b269dfc435d73365677945057c1c2cbb1869
Reviewed-on: https://go-review.googlesource.com/c/tools/+/254317
Trust: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-09-15 20:16:39 +00:00
..
client.go internal/lsp: watch directories in replace targets and update on changes 2020-08-07 23:35:17 +00:00
doc.go internal/lsp/fake: split up and rename the Workspace type 2020-05-06 18:17:57 +00:00
edit_test.go internal/lsp/regtest: implement formatting and organizeImports 2020-03-02 19:16:53 +00:00
edit.go internal/lsp/regtest: add benchmarks for IWL and completion 2020-08-27 17:51:12 +00:00
editor_test.go internal/lsp/fake: move to a struct for configuring the sandbox 2020-07-23 23:36:26 +00:00
editor.go internal/lsp: enable multi-module workspace mode by default in tests 2020-09-15 20:16:39 +00:00
proxy.go internal/lsp/regtest: add run options to support stress testing 2020-07-23 23:37:37 +00:00
sandbox.go internal/lsp: add a test that reproduces golang/go#37069 2020-09-01 15:23:12 +00:00
workdir_test.go internal/lsp/regtest: add run options to support stress testing 2020-07-23 23:37:37 +00:00
workdir.go internal/lsp: fix builds and tests for go1.12+ 2020-08-27 14:30:46 +00:00