Skip to content

Commit 16021ee

Browse files
committed
lowercase enable
1 parent 956ee20 commit 16021ee

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@
699699
"scope": "resource",
700700
"type": "array"
701701
},
702-
"python.REPL.EnableREPLSmartSend": {
702+
"python.REPL.enableREPLSmartSend": {
703703
"default": true,
704704
"description": "%python.EnableREPLSmartSend.description%",
705705
"scope": "resource",

src/client/common/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export interface ITerminalSettings {
199199
}
200200

201201
export interface IREPLSettings {
202-
readonly EnableREPLSmartSend: boolean;
202+
readonly enableREPLSmartSend: boolean;
203203
}
204204

205205
export interface IExperiments {

src/client/terminals/codeExecution/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class CodeExecutionHelper implements ICodeExecutionHelper {
9898
const configuration = this.serviceContainer.get<IConfigurationService>(IConfigurationService);
9999
if (configuration) {
100100
const pythonSettings = configuration.getSettings(this.activeResourceService.getActiveResource());
101-
smartSendSettingsEnabledVal = pythonSettings.REPL.EnableREPLSmartSend;
101+
smartSendSettingsEnabledVal = pythonSettings.REPL.enableREPLSmartSend;
102102
}
103103

104104
const input = JSON.stringify({

src/client/terminals/codeExecution/terminalCodeExecution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class TerminalCodeExecutionProvider implements ICodeExecutionService {
5151
const selection = await showWarningMessage(Diagnostics.invalidSmartSendMessage, Repl.disableSmartSend);
5252
traceInfo(`Selected file contains invalid Python or Deprecated Python 2 code`);
5353
if (selection === Repl.disableSmartSend) {
54-
this.configurationService.updateSetting('REPL.EnableREPLSmartSend', false, resource);
54+
this.configurationService.updateSetting('REPL.enableREPLSmartSend', false, resource);
5555
}
5656
} else {
5757
await this.getTerminalService(resource).sendText(code);

0 commit comments

Comments
 (0)