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