add an API proposal for DocumentFilter#notebookType, https://github.com/microsoft/vscode/issues/141143

This commit is contained in:
Johannes Rieken
2022-02-10 17:02:40 +01:00
parent b239683e79
commit 609eea3a30
5 changed files with 24 additions and 1 deletions

View File

@@ -223,6 +223,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
if (typeof filter.exclusive === 'boolean') {
checkProposedApiEnabled(extension, 'documentFiltersExclusive');
}
if (typeof filter.notebookType === 'string') {
checkProposedApiEnabled(extension, 'notebookDocumentSelector');
}
}
return selector;
};