provideFileDecoration
abstract fun provideFileDecoration(uri: Uri, token: CancellationToken): ProviderResult<FileDecoration>(source)
Provide decorations for a given uri.
Note that this function is only called when a file gets rendered in the UI. This means a decoration from a descendent that propagates upwards must be signaled to the editor via the onDidChangeFileDecorations-event.
Parameters
uri
The uri of the file to provide a decoration for.
token
A cancellation token.