mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
💄
This commit is contained in:
@@ -334,7 +334,9 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
|
||||
const supportBackup = !!provider.backupNotebook;
|
||||
|
||||
const viewOptionsFilenamePattern = typeConverters.NotebookExclusiveDocumentPattern.from(options?.viewOptions?.filenamePattern);
|
||||
console.warn(`Notebook content provider view options file name pattern is valid ${options?.viewOptions?.filenamePattern}`);
|
||||
if (!viewOptionsFilenamePattern) {
|
||||
console.warn(`Notebook content provider view options file name pattern is invalid ${options?.viewOptions?.filenamePattern}`);
|
||||
}
|
||||
|
||||
this._proxy.$registerNotebookProvider({ id: extension.identifier, location: extension.extensionLocation, description: extension.description }, viewType, supportBackup, {
|
||||
transientOutputs: options?.transientOutputs || false,
|
||||
|
||||
Reference in New Issue
Block a user