File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 699
699
"scope" : " resource" ,
700
700
"type" : " array"
701
701
},
702
- "python.REPL.EnableREPLSmartSend " : {
702
+ "python.REPL.enableREPLSmartSend " : {
703
703
"default" : true ,
704
704
"description" : " %python.EnableREPLSmartSend.description%" ,
705
705
"scope" : " resource" ,
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ export interface ITerminalSettings {
199
199
}
200
200
201
201
export interface IREPLSettings {
202
- readonly EnableREPLSmartSend : boolean ;
202
+ readonly enableREPLSmartSend : boolean ;
203
203
}
204
204
205
205
export interface IExperiments {
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export class CodeExecutionHelper implements ICodeExecutionHelper {
98
98
const configuration = this . serviceContainer . get < IConfigurationService > ( IConfigurationService ) ;
99
99
if ( configuration ) {
100
100
const pythonSettings = configuration . getSettings ( this . activeResourceService . getActiveResource ( ) ) ;
101
- smartSendSettingsEnabledVal = pythonSettings . REPL . EnableREPLSmartSend ;
101
+ smartSendSettingsEnabledVal = pythonSettings . REPL . enableREPLSmartSend ;
102
102
}
103
103
104
104
const input = JSON . stringify ( {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export class TerminalCodeExecutionProvider implements ICodeExecutionService {
51
51
const selection = await showWarningMessage ( Diagnostics . invalidSmartSendMessage , Repl . disableSmartSend ) ;
52
52
traceInfo ( `Selected file contains invalid Python or Deprecated Python 2 code` ) ;
53
53
if ( selection === Repl . disableSmartSend ) {
54
- this . configurationService . updateSetting ( 'REPL.EnableREPLSmartSend ' , false , resource ) ;
54
+ this . configurationService . updateSetting ( 'REPL.enableREPLSmartSend ' , false , resource ) ;
55
55
}
56
56
} else {
57
57
await this . getTerminalService ( resource ) . sendText ( code ) ;
You can’t perform that action at this time.
0 commit comments