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' {
660660 dispose ( ) : void ;
661661 }
662662
663+ export interface NotebookDocumentShowOptions {
664+ viewColumn ?: ViewColumn ;
665+ preserveFocus ?: boolean ;
666+ preview ?: boolean ;
667+ selection ?: NotebookCellRange ;
668+ }
669+
663670
664671 export namespace notebook {
665672 export function registerNotebookContentProvider (
@@ -727,6 +734,7 @@ declare module 'vscode' {
727734 export const onDidChangeActiveNotebookEditor : Event < NotebookEditor | undefined > ;
728735 export const onDidChangeNotebookEditorSelection : Event < NotebookEditorSelectionChangeEvent > ;
729736 export const onDidChangeNotebookEditorVisibleRanges : Event < NotebookEditorVisibleRangesChangeEvent > ;
737+ export function showNotebookDocument ( document : NotebookDocument , options ?: NotebookDocumentShowOptions ) : Promise < NotebookEditor > ;
730738 }
731739
732740 //#endregion
You can’t perform that action at this time.
0 commit comments