diff --git a/src/vs/workbench/api/common/configurationExtensionPoint.ts b/src/vs/workbench/api/common/configurationExtensionPoint.ts index 1d594d63010..cb3e1db948a 100644 --- a/src/vs/workbench/api/common/configurationExtensionPoint.ts +++ b/src/vs/workbench/api/common/configurationExtensionPoint.ts @@ -21,6 +21,7 @@ import { MarkdownString } from 'vs/base/common/htmlContent'; // --- Start Positron --- // Ignore properties contributed by vscode-jupyter related in favor of Positron code cells and console. +// These are disabled in the settings UI. To override their actual values see extHostConfiguration.ts. // TODO(seem): We can remove this if we eventually decide to unbundle vscode-jupyter. const IGNORED_JUPYTER_CONFIGURATION_PROPERTIES = new Set([ 'jupyter.decorateCells', @@ -32,6 +33,7 @@ const IGNORED_JUPYTER_CONFIGURATION_PROPERTIES = new Set([ 'jupyter.interactiveWindow.codeLens.commands', 'jupyter.interactiveWindow.codeLens.enable', 'jupyter.interactiveWindow.codeLens.enableGotoCell', + // The typo in the following property is intentional, don't fix it. 'jupyter.interactiveWindow.codeLes.debugCommands', 'jupyter.interactiveWindow.creationMode', 'jupyter.interactiveWindow.textEditor.autoAddNewCell', diff --git a/src/vs/workbench/api/common/extHostConfiguration.ts b/src/vs/workbench/api/common/extHostConfiguration.ts index 88f90c4b053..72796e4db6f 100644 --- a/src/vs/workbench/api/common/extHostConfiguration.ts +++ b/src/vs/workbench/api/common/extHostConfiguration.ts @@ -185,13 +185,14 @@ export class ExtHostConfigProvider { }, get: (key: string, defaultValue?: T) => { // --- Start Positron --- - // Disable vscode-jupyter's cell decorations and code lenses, preferring - // the positron-code-cell extension instead. + // Disable vscode-jupyter's cell decorations, code lenses, and interactive window + // entrpoints, preferring Positron alternatives instead. // TODO(seem): We can remove this if we eventually decide to unbundle vscode-jupyter. if (section === 'jupyter') { switch (key) { case 'interactiveWindow.cellMarker.decorateCells': case 'interactiveWindow.codeLens.enable': + case 'interactiveWindow.textEditor.executeSelection': // Legacy versions of above settings. case 'decorateCells': case 'enableCellCodeLens':