Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/cmd/gopls: add support for handling deltas in DidChange #31800
This is a tracking issue for adding support for handling deltas in
Currently clients are required to send the entire file contents for each change. This starts to get noticeable for large-ish files.
Updates that only add text have a start and end that are the same, we were erroring on those and failing to apply the changes. Fixes golang/go#31800 Change-Id: Ia31b90f108742e5532d2da35137c347c26090a6a Reviewed-on: https://go-review.googlesource.com/c/tools/+/174949 Reviewed-by: Rebecca Stambler <firstname.lastname@example.org>