Merge branch 'notebook/dev' into main

This commit is contained in:
rebornix
2021-04-13 14:12:11 -07:00
33 changed files with 593 additions and 373 deletions

View File

@@ -861,7 +861,7 @@ export interface INotebookDocumentShowOptions {
position?: EditorGroupColumn;
preserveFocus?: boolean;
pinned?: boolean;
selection?: ICellRange;
selections?: ICellRange[];
}
export type INotebookCellStatusBarEntryDto = Dto<INotebookCellStatusBarEntry>;
@@ -911,7 +911,7 @@ export interface INotebookKernelDto2 {
supportedLanguages: string[];
supportsInterrupt?: boolean;
hasExecutionOrder?: boolean;
preloads?: UriComponents[];
preloads?: { uri: UriComponents; provides: string[] }[];
}
export interface MainThreadNotebookKernelsShape extends IDisposable {
@@ -1910,7 +1910,7 @@ export interface INotebookKernelInfoDto2 {
description?: string;
detail?: string;
isPreferred?: boolean;
preloads?: UriComponents[];
preloads?: { uri: UriComponents; provides: string[] }[];
supportedLanguages?: string[]
implementsInterrupt?: boolean;
}
@@ -1952,7 +1952,7 @@ export interface ExtHostNotebookEditorsShape {
}
export interface ExtHostNotebookKernelsShape {
$acceptSelection(handle: number, value: boolean): void;
$acceptSelection(handle: number, uri: UriComponents, value: boolean): void;
$executeCells(handle: number, uri: UriComponents, ranges: ICellRange[]): void;
$cancelCells(handle: number, uri: UriComponents, ranges: ICellRange[]): void;
}