1
0
mirror of https://github.com/golang/go synced 2024-10-01 08:28:43 -06:00
go/internal/lsp/source
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
..
completion.go internal/lsp: do not complete inside comments in functions 2019-01-22 18:08:10 +00:00
definition.go internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00
diagnostics.go internal/lsp: fix diagnostics range computation 2018-12-21 20:18:27 +00:00
format.go internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00
signature_help.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
uri_test.go internal/lsp/source: avoid having build tagged files for uri 2018-12-17 19:55:17 +00:00
uri.go internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
view.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00