A quick diff provider provides a {@link Uri uri} to the original state of a modified resource. The editor will use this information to render ad'hoc diffs within the text.
Fields
optionalprovideOriginalResource:Null<(uri:Uri, token:CancellationToken) ‑> ProviderResult<Uri>>
Provide a {@link Uri} to the original resource of any given resource uri.
Parameters:
uri | The uri of the resource open in a text editor. |
|---|---|
token | A cancellation token. |
Returns:
A thenable that resolves to uri of the matching original resource.