mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| format.go | ||