From 2e026cf7c28344078054e3ce6f4f92cd5c264176 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Mon, 31 May 2021 14:41:01 +0200 Subject: [PATCH] more API todos --- src/vs/vscode.proposed.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 61ea2c46f03..47acedddad5 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -1405,6 +1405,9 @@ declare module 'vscode' { */ items: NotebookCellOutputItem[]; + /** + * Arbitrary metadata for this cell output. Must be JSON-stringifyable. + */ //todo@API have this OR NotebookCellOutputItem#metadata but not both? Preference for this. metadata?: { [key: string]: any }; @@ -1921,6 +1924,8 @@ declare module 'vscode' { * @param cell The cell for which to return items. * @param token A token triggered if this request should be cancelled. */ + //todo@API jsdoc for return-type + //todo@API should this return an item instead of an array? provideCellStatusBarItems(cell: NotebookCell, token: CancellationToken): ProviderResult; }