File tree Expand file tree Collapse file tree
debugger/extension/configuration/providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 200200 "debug.debugFlaskConfigurationLabel" : " Flask" ,
201201 "debug.debugFlaskConfigurationDescription" : " Launch and debug a Flask web application" ,
202202 "debug.flaskEnterAppPathOrNamePathTitle" : " Debug Flask" ,
203- "debug.flaskEnterAppPathOrNamePathPrompt" : " Enter path to application, e.g. 'app.py' or 'app'" ,
203+ "debug.flaskEnterAppPathOrNamePathPrompt" : " Enter the path to the application, e.g. 'app.py' or 'app'" ,
204204 "debug.flaskEnterAppPathOrNamePathInvalidNameError" : " Enter a valid name" ,
205205 "debug.debugPyramidConfigurationLabel" : " Pyramid" ,
206206 "debug.debugPyramidConfigurationDescription" : " Web Application" ,
Original file line number Diff line number Diff line change @@ -251,6 +251,7 @@ export namespace DebugConfigStrings {
251251 } ;
252252 export const enterAppPathOrNamePath = {
253253 title : localize ( 'debug.flaskEnterAppPathOrNamePathTitle' ) ,
254+ prompt : localize ( 'debug.flaskEnterAppPathOrNamePathPrompt' ) ,
254255 invalid : localize ( 'debug.flaskEnterAppPathOrNamePathInvalidNameError' )
255256 } ;
256257 }
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class FlaskLaunchDebugConfigurationProvider implements IDebugConfiguratio
4646 const selectedApp = await input . showInputBox ( {
4747 title : DebugConfigStrings . flask . enterAppPathOrNamePath . title ( ) ,
4848 value : 'app.py' ,
49- prompt : DebugConfigStrings . flask . selectConfiguration . description ( ) ,
49+ prompt : DebugConfigStrings . flask . enterAppPathOrNamePath . prompt ( ) ,
5050 validate : value => Promise . resolve ( ( value && value . trim ( ) . length > 0 ) ? undefined : DebugConfigStrings . flask . enterAppPathOrNamePath . invalid ( ) )
5151 } ) ;
5252 if ( selectedApp ) {
You can’t perform that action at this time.
0 commit comments