more API todos

This commit is contained in:
Johannes Rieken 2021-05-31 14:41:01 +02:00
parent 355df0eccb
commit 2e026cf7c2
No known key found for this signature in database
GPG key ID: 96634B5AF12F8798

View file

@ -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<NotebookCellStatusBarItem[]>;
}