mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
add NotebookController#detail
This commit is contained in:
@@ -51,6 +51,7 @@ abstract class MainThreadKernel implements INotebookKernel2 {
|
||||
this.implementsInterrupt = data.supportsInterrupt ?? false;
|
||||
this.label = data.label;
|
||||
this.description = data.description;
|
||||
this.detail = data.detail;
|
||||
this.isPreferred = data.isPreferred;
|
||||
this.supportedLanguages = data.supportedLanguages;
|
||||
this.implementsExecutionOrder = data.hasExecutionOrder ?? false;
|
||||
@@ -69,6 +70,10 @@ abstract class MainThreadKernel implements INotebookKernel2 {
|
||||
this.description = data.description;
|
||||
event.description = true;
|
||||
}
|
||||
if (data.detail !== undefined) {
|
||||
this.detail = data.detail;
|
||||
event.detail = true;
|
||||
}
|
||||
if (data.isPreferred !== undefined) {
|
||||
this.isPreferred = data.isPreferred;
|
||||
event.isPreferred = true;
|
||||
|
||||
Reference in New Issue
Block a user