1
0
mirror of https://github.com/golang/go synced 2024-10-01 05:18:33 -06:00
go/internal/lsp/diff
Michael Matloob 27d1b4e4f3 internal/lsp/diff: rewrite ApplyEdits to work with sub-line diffs
This replaces the definition of ApplyEdits to be more like that in
go vet -fix, so that we can apply the results of suggested fixes.

Change-Id: Ib5724139464954e3790bc51ed1edc3ce4b2115ff
Reviewed-on: https://go-review.googlesource.com/c/tools/+/193959
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-09-09 18:07:23 +00:00
..
difftest internal/lsp: add tests at the diff hook layer 2019-08-26 23:40:50 +00:00
myers internal/lsp: add tests at the diff hook layer 2019-08-26 23:40:50 +00:00
apply_edits_test.go internal/lsp/diff: rewrite ApplyEdits to work with sub-line diffs 2019-09-09 18:07:23 +00:00
apply_edits.go internal/lsp/diff: rewrite ApplyEdits to work with sub-line diffs 2019-09-09 18:07:23 +00:00
diff_test.go internal/lsp: add tests at the diff hook layer 2019-08-26 23:40:50 +00:00
hooks.go internal/lsp: abstract the diff library so it can be substituted 2019-08-20 03:37:07 +00:00
myers.go internal/lsp/diff: rewrite ApplyEdits to work with sub-line diffs 2019-09-09 18:07:23 +00:00