TextDocumentContentProvider
A text document content provider allows to add readonly documents to the editor, such as source from a dll or generated html from md.
Content providers are registered for a uri-scheme. When a uri with that scheme is to be workspace.openTextDocument the content provider is asked.
Functions
Link copied to clipboard
abstract fun provideTextDocumentContent(uri: Uri, token: CancellationToken): ProviderResult<JsString>
Provide textual content for a given uri.