provideOriginalResource

abstract external var provideOriginalResource: (uri: Uri, token: CancellationToken) -> ProviderResult<Uri>?(source)

Provide a 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.