1
0
mirror of https://github.com/golang/go synced 2024-11-06 07:26:10 -07:00
go/internal/lsp/fake
Rebecca Stambler 48de4c84f0 internal/lsp: add a configuration to limit workspace scope to root URI
Some users may intentionally be opening subdirectories to avoid having
gopls load the whole module. Allow this via a configuration.

Fixes golang/go#40567

Change-Id: I6167f62a74a1c0b7cf07c1cb247adda839ee41f2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/247617
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-08-11 01:57:04 +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/fake: define Symbol method on Editor 2020-05-11 20:27:07 +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: add a configuration to limit workspace scope to root URI 2020-08-11 01:57:04 +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/regtest: add run options to support stress testing 2020-07-23 23:37:37 +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: correctly invalidate metadata for batched changes 2020-07-27 19:55:46 +00:00