File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -7215,7 +7215,10 @@ export class ProjectExplorer implements CustomConfigurationProvider {
72157215 const idx = old_cfgs . findIndex ( cfg => cfg . name == debugConfig . name ) ;
72167216 if ( idx != - 1 ) {
72177217 const item = await vscode . window . showWarningMessage (
7218- `${ WARNING } : Debug Configuration '${ debugConfig . name } ' is already existed ! override it ?` , 'Yes' , 'No' ) ;
7218+ isChinese
7219+ ? `${ WARNING } : 名称为 '${ debugConfig . name } ' 的调试配置已经存在,需要覆盖它吗?`
7220+ : `${ WARNING } : Debugger Configuration '${ debugConfig . name } ' is already existed ! Override It ?` ,
7221+ 'Yes' , 'No' ) ;
72197222 if ( item === undefined || item === 'No' ) {
72207223 return 'canceled' ;
72217224 }
@@ -7253,6 +7256,7 @@ export class ProjectExplorer implements CustomConfigurationProvider {
72537256 version : '0.2.0' ,
72547257 configurations : [ result . debug_config ]
72557258 } , undefined , 4 ) ) ;
7259+ vscode . window . showTextDocument ( vscode . Uri . file ( cfgfile . path ) , { preview : true } ) ;
72567260 return ;
72577261 }
72587262
You can’t perform that action at this time.
0 commit comments