Skip to content

Commit 7c62095

Browse files
authored
Kernel picker MRU experiment (microsoft#166307)
1 parent 5f67407 commit 7c62095

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/vs/workbench/contrib/notebook/browser/notebook.contribution.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,5 +910,11 @@ configurationRegistry.registerConfiguration({
910910
type: 'string',
911911
tags: ['notebookLayout']
912912
},
913+
[NotebookSetting.kernelPickerMRU]: {
914+
markdownDescription: nls.localize('notebook.kernelPickerMRU', "Controls whether the kernel picker should show the most recently used kernels."),
915+
type: 'boolean',
916+
tags: ['notebookLayout'],
917+
default: false
918+
}
913919
}
914920
});

src/vs/workbench/contrib/notebook/common/notebookCommon.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,8 @@ export const NotebookSetting = {
925925
interactiveWindowCollapseCodeCells: 'interactiveWindow.collapseCellInputCode',
926926
outputLineHeight: 'notebook.outputLineHeight',
927927
outputFontSize: 'notebook.outputFontSize',
928-
outputFontFamily: 'notebook.outputFontFamily'
928+
outputFontFamily: 'notebook.outputFontFamily',
929+
kernelPickerMRU: 'notebook.experimental.kernelPicker.mru'
929930
} as const;
930931

931932
export const enum CellStatusbarAlignment {

0 commit comments

Comments
 (0)