diff --git a/vscode.proposed.d.ts b/vscode.proposed.d.ts index 7b14a50952..fde3199ea4 100644 --- a/vscode.proposed.d.ts +++ b/vscode.proposed.d.ts @@ -218,6 +218,7 @@ declare module 'vscode' { readonly fileName: string; readonly viewType: string; readonly isDirty: boolean; + readonly isUntitled: boolean; readonly cells: NotebookCell[]; languages: string[]; displayOrder?: GlobPattern[]; @@ -385,6 +386,11 @@ declare module 'vscode' { readonly language: string; } + export interface NotebookCellMetadataChangeEvent { + readonly document: NotebookDocument; + readonly cell: NotebookCell; + } + export interface NotebookCellData { readonly cellKind: CellKind; readonly source: string; @@ -575,6 +581,7 @@ declare module 'vscode' { export const onDidChangeNotebookCells: Event; export const onDidChangeCellOutputs: Event; export const onDidChangeCellLanguage: Event; + export const onDidChangeCellMetadata: Event; /** * Create a document that is the concatenation of all notebook cells. By default all code-cells are included * but a selector can be provided to narrow to down the set of cells.