1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:04:45 -07:00
go/internal/lsp/diff
Ian Cottrell f7bb6f12f0 internal/lsp: do not allow diff.ApplyEdits to be replaced
We only need one implementation of this, it must cope with all inputs, and it
has no freedom in it's results, so it does not need to be pluggable.

Change-Id: I6fec0c339eb288649a670fc3e2cb00c726467e20
Reviewed-on: https://go-review.googlesource.com/c/tools/+/198377
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-10-04 02:16:33 +00:00
..
difftest internal/lsp: add tests at the diff hook layer 2019-08-26 23:40:50 +00:00
myers internal/lsp: change the unified diff tests to be less fragile 2019-09-27 19:13:25 +00:00
apply_edits_test.go internal/lsp: do not allow diff.ApplyEdits to be replaced 2019-10-04 02:16:33 +00:00
apply_edits.go internal/lsp: do not allow diff.ApplyEdits to be replaced 2019-10-04 02:16:33 +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: do not allow diff.ApplyEdits to be replaced 2019-10-04 02:16:33 +00:00
myers.go internal/lsp/diff: rewrite ApplyEdits to work with sub-line diffs 2019-09-09 18:07:23 +00:00