mirror of https://github.com/golang/go.git
If an open buffer is unmodified from the on-disk version, and that on-disk content changes, VS Code will update the buffer with the change. This is relevant for our quick fixes that use the go command to make changes to go.mod/sum -- we want tests to pick up the changes without needing to close/reopen the buffer. For whatever reason, VS Code doesn't do this for deletions, and it made the implementation easier, so I followed suit. I also mimicked its behavior of sending both in-memory and on-disk change notifications. Change-Id: I838a64b2f48f3cbe1a86035293923951b53aecf3 Reviewed-on: https://go-review.googlesource.com/c/tools/+/267577 Trust: Heschi Kreinick <heschi@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Robert Findley <rfindley@google.com> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| lsp | ||
| memoize | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typesinternal | ||
| xcontext | ||