remove "experimental" from setting id (#230523)

This commit is contained in:
Aaron Munger
2024-10-04 11:05:12 -07:00
committed by GitHub
parent e178455531
commit 019359c7b6
2 changed files with 6 additions and 2 deletions
@@ -56,7 +56,11 @@ export class NotebookVariables extends Disposable implements IWorkbenchContribut
}
private handleInitEvent(notebook?: URI) {
const enabled = this.editorService.activeEditorPane?.getId() === 'workbench.editor.repl' || this.configurationService.getValue(NotebookSetting.notebookVariablesView);
const enabled =
this.editorService.activeEditorPane?.getId() === 'workbench.editor.repl' ||
this.configurationService.getValue(NotebookSetting.notebookVariablesView) ||
// old setting key
this.configurationService.getValue('notebook.experimental.variablesView');
if (enabled && (!!notebook || this.editorService.activeEditorPane?.getId() === 'workbench.editor.notebook')) {
if (this.hasVariableProvider(notebook) && !this.initialized && this.initializeView()) {
this.viewEnabled.set(true);
@@ -1018,7 +1018,7 @@ export const NotebookSetting = {
scrollToRevealCell: 'notebook.scrolling.revealNextCellOnExecute',
cellChat: 'notebook.experimental.cellChat',
cellGenerate: 'notebook.experimental.generate',
notebookVariablesView: 'notebook.experimental.variablesView',
notebookVariablesView: 'notebook.variablesView',
InteractiveWindowPromptToSave: 'interactiveWindow.promptToSaveOnClose',
cellFailureDiagnostics: 'notebook.cellFailureDiagnostics',
outputBackupSizeLimit: 'notebook.backup.sizeLimit',