1
0
mirror of https://github.com/golang/go synced 2024-11-06 08:26:12 -07:00
go/internal/lsp/diff
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
..
diff_test.go internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00
diff.go internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00