This commit is contained in:
Johannes Rieken 2022-02-11 13:33:47 +01:00
parent c1ae22ad56
commit 8a3b1f4c4c
No known key found for this signature in database
GPG key ID: 96634B5AF12F8798

View file

@ -10,7 +10,12 @@ declare module 'vscode' {
export interface DocumentFilter {
/**
* The {@link NotebookDocument.notebookType type} of a notebook, like `jupyter`
* The {@link NotebookDocument.notebookType type} of a notebook, like `jupyter`. This allows
* to narrow down on the type of a notebook that a {@link NotebookCell.document cell document} belongs to.
*
* *Note* that combining `notebookType` and {@link DocumentFilter.scheme `scheme`} with a value
* different than `"vscode-notebook-cell"` or `undefined` is invalid and will not match
* any document.
*/
readonly notebookType?: string;
}