File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -660,6 +660,13 @@ declare module 'vscode' {
660
660
dispose ( ) : void ;
661
661
}
662
662
663
+ export interface NotebookDocumentShowOptions {
664
+ viewColumn ?: ViewColumn ;
665
+ preserveFocus ?: boolean ;
666
+ preview ?: boolean ;
667
+ selection ?: NotebookCellRange ;
668
+ }
669
+
663
670
664
671
export namespace notebook {
665
672
export function registerNotebookContentProvider (
@@ -727,6 +734,7 @@ declare module 'vscode' {
727
734
export const onDidChangeActiveNotebookEditor : Event < NotebookEditor | undefined > ;
728
735
export const onDidChangeNotebookEditorSelection : Event < NotebookEditorSelectionChangeEvent > ;
729
736
export const onDidChangeNotebookEditorVisibleRanges : Event < NotebookEditorVisibleRangesChangeEvent > ;
737
+ export function showNotebookDocument ( document : NotebookDocument , options ?: NotebookDocumentShowOptions ) : Promise < NotebookEditor > ;
730
738
}
731
739
732
740
//#endregion
You can’t perform that action at this time.
0 commit comments