mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-29 19:59:19 +01:00
remove "experimental" from setting id (#230523)
This commit is contained in:
+5
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user