1
0
mirror of https://github.com/golang/go synced 2024-11-19 05:54:44 -07:00
go/internal/lsp/testdata/format
Rebecca Stambler 51e363b66d internal/lsp: implement diff for computing text edits
Rather than replacing the whole file on gofmt or goimports, use the Myers
diff algorithm to compute diffs for a file. We send those back as text
edits.

Change-Id: I4f8cce5b27d51eae1911049ea002558a84cdf1bf
Reviewed-on: https://go-review.googlesource.com/c/158579
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-02-01 23:18:25 +00:00
..
bad_format.go.in internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00
good_format.go internal/lsp: fix and add tests for formatting 2018-11-15 19:42:43 +00:00