go/internal/lsp
Rob Findley 53e0aa8268 gopls/internal/regtest: add an option to nest the workdir
Add a regtest run option NestWorkdir, which causes the working directory
to be nested in the editor workspace, and use it in some modfile tests
to exercise the new workspace logic.

For now we only run the nested tests while using experimental workspace
modules. In a later CL, the 'legacy' mode will be updated to find a
solitary nested module, at which point we should be able to run nested
in all modes.

Fixes golang/go#42111

Change-Id: I0bd3b31969684bc1ba1935633cbb9a3f26de1587
Reviewed-on: https://go-review.googlesource.com/c/tools/+/257138
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Trust: Robert Findley <rfindley@google.com>
2020-11-10 18:07:23 +00:00
..
analysis gopls: fix various staticcheck errors 2020-09-29 17:30:36 +00:00
browser
cache internal/lsp: set correct directness when adding new requires 2020-11-04 18:37:02 +00:00
cmd internal/lsp/cmd: delete TestDefinitionHelpExample test 2020-11-03 23:54:15 +00:00
debug internal/lsp: use a structured format for the server's version 2020-11-09 18:20:53 +00:00
diff
fake gopls/internal/regtest: add an option to nest the workdir 2020-11-10 18:07:23 +00:00
fuzzy internal/lsp/fuzzy: fix return value on no match 2020-08-28 15:37:48 +00:00
helper internal/lsp: update lsp protocol stubs to match LSP 3.16 revisions 2020-10-27 18:00:23 +00:00
lsprpc internal/lsp/cache: assign a static temp workspace dir to the first view 2020-11-04 18:18:50 +00:00
mod internal/lsp: remove organize imports action for go.mod 2020-11-04 19:38:57 +00:00
protocol internal/lsp: make Diagnostics.CodeDescription a pointer 2020-11-02 20:58:24 +00:00
snippet
source internal/lsp/source: don't find possible interface references to types 2020-11-09 18:10:55 +00:00
testdata internal/lsp: do not rename in compiler directive comments 2020-11-03 16:52:30 +00:00
tests internal/lsp: add gopls semtok command and semantic token tests 2020-10-16 18:10:36 +00:00
call_hierarchy.go internal/lsp: release resources for call hierarchy file requests 2020-08-07 21:04:51 +00:00
code_action.go internal/lsp: remove organize imports action for go.mod 2020-11-04 19:38:57 +00:00
code_lens.go internal/lsp: return code lenses in a deterministic order 2020-10-21 17:08:55 +00:00
command.go internal/lsp: avoid diagnosing unopened non-workspace packages 2020-11-10 03:05:25 +00:00
completion.go internal/lsp/source: refactor c.item to support deepSearch in all cases 2020-10-01 23:00:09 +00:00
completion_test.go internal/lsp: pass options by reference instead of by value 2020-09-16 22:53:23 +00:00
debounce.go internal/lsp: add experimental support for multi-phase diagnostics 2020-10-02 14:12:12 +00:00
debounce_test.go internal/lsp: delay longer in TestDebouncer 2020-10-30 20:03:00 +00:00
definition.go
diagnostics.go internal/lsp: avoid diagnosing unopened non-workspace packages 2020-11-10 03:05:25 +00:00
folding_range.go
format.go
general.go internal/lsp: use a structured format for the server's version 2020-11-09 18:20:53 +00:00
highlight.go
hover.go
implementation.go
link.go internal/lsp: move package selection to before type checking 2020-09-24 22:42:22 +00:00
lsp_test.go internal/lsp: fix flickering analysis diagnostics 2020-11-05 17:38:54 +00:00
progress.go internal/lsp/source: synchronous commands the default 2020-10-28 18:20:00 +00:00
progress_test.go internal/lsp: improvements for command messages 2020-08-21 20:07:30 +00:00
references.go
rename.go internal/lsp/source: add a FileSource interface 2020-10-19 16:07:06 +00:00
reset_golden.sh
semantic.go internal/lsp/semantic.go: remove global variable 2020-10-22 21:19:33 +00:00
server.go internal/lsp: fix flickering analysis diagnostics 2020-11-05 17:38:54 +00:00
server_gen.go internal/lsp: update lsp protocol stubs to match LSP 3.16 revisions 2020-10-27 18:00:23 +00:00
signature_help.go
symbols.go
text_synchronization.go internal/lsp: avoid diagnosing unopened non-workspace packages 2020-11-10 03:05:25 +00:00
workspace.go internal/lsp/cache: assign a static temp workspace dir to the first view 2020-11-04 18:18:50 +00:00
workspace_symbol.go