diff --git a/vscode.proposed.d.ts b/vscode.proposed.d.ts index 7b14a50952..71edb59e6d 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; @@ -561,6 +567,7 @@ declare module 'vscode' { export const onDidOpenNotebookDocument: Event; export const onDidCloseNotebookDocument: Event; + export const onDidSaveNotebookDocument: Event; /** * All currently known notebook documents. @@ -575,6 +582,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.