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.

Online Documentation

Properties

Link copied to clipboard
abstract var onDidChange: Event<Uri>?

An event to signal a resource has changed.

Functions

Link copied to clipboard

Provide textual content for a given uri.