DocumentFilter

A document filter denotes a document by different properties like the language, the scheme of its resource, or a glob-pattern that is applied to the path.

Properties

Link copied to clipboard
abstract val language: String?

A language id, like typescript.

Link copied to clipboard
abstract val notebookType: String?

The type of a notebook, like jupyter-notebook. This allows to narrow down on the type of a notebook that a cell document belongs to.

Link copied to clipboard
abstract val pattern: GlobPattern?

A glob pattern that is matched on the absolute path of the document. Use a relative pattern to filter documents to a workspace folder.

Link copied to clipboard
abstract val scheme: String?

A Uri scheme, like file or untitled.