go/gopls/internal/regtest
Michael Matloob be40034de7 internal/lsp: add support for formatting go.work files
Wired through support for calling x/mod's go.work formatter on go.work
files into LSP. Tested it by hand in editor using the "Format Document"
command. Added a test case to workspace_test regtest, though I'm not
totally sure the test is correct.

For golang/go#50930

Change-Id: Ied052ded514bb36f561737698f0e2d7b488158e7
Reviewed-on: https://go-review.googlesource.com/c/tools/+/383774
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2022-02-15 17:15:32 +00:00
..
bench internal/lsp/regtest: eliminate arbitrary timeouts 2022-01-25 21:51:33 +00:00
codelens internal/lsp/regtest: eliminate arbitrary timeouts 2022-01-25 21:51:33 +00:00
completion internal/lsp/completion: the inserted text should be what is shown to the user 2022-02-03 15:40:54 +00:00
diagnostics internal/lsp/analysis/undeclaredname: suppress impossible quick fixes 2022-02-09 19:35:26 +00:00
misc internal/lsp: add ListImports 2022-02-04 22:09:29 +00:00
modfile internal/lsp/cache: set types.Config.GoVersion 2022-02-07 18:19:30 +00:00
template internal/template: return available semantic tokens even on template error 2022-01-26 20:10:56 +00:00
watch gopls/internal/regtest: clean up TestFillReturnsPanic 2021-06-03 18:03:08 +00:00
workspace internal/lsp: add support for formatting go.work files 2022-02-15 17:15:32 +00:00