Skip to content

Commit 2bf0340

Browse files
Update Notebook dts (#4)
Co-authored-by: TylerLeonhardt <[email protected]>
1 parent f33ca03 commit 2bf0340

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vscode.proposed.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,10 @@ declare module 'vscode' {
474474
}
475475

476476
export interface NotebookContentProvider {
477+
/**
478+
* Content providers should always use [file system providers](#FileSystemProvider) to
479+
* resolve the raw content for `uri` as the resouce is not necessarily a file on disk.
480+
*/
477481
openNotebook(uri: Uri, openContext: NotebookDocumentOpenContext): NotebookData | Promise<NotebookData>;
478482
resolveNotebook(document: NotebookDocument, webview: NotebookCommunication): Promise<void>;
479483
saveNotebook(document: NotebookDocument, cancellation: CancellationToken): Promise<void>;

0 commit comments

Comments
 (0)