File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 824
824
"command" : " robotcode.clearCacheRestartLanguageServers"
825
825
},
826
826
{
827
- "title" : " Select Execution Profiles" ,
827
+ "title" : " Select Configuration Profiles" ,
828
828
"category" : " RobotCode" ,
829
- "command" : " robotcode.selectExecutionProfiles "
829
+ "command" : " robotcode.selectConfigurationProfiles "
830
830
},
831
831
{
832
832
"title" : " Refresh" ,
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ export class TestControllerManager {
266
266
vscode . commands . registerCommand ( "robotcode.debugCurrentFile" , async ( ...args ) => {
267
267
await vscode . commands . executeCommand ( "testing.debugCurrentFile" , ...args ) ;
268
268
} ) ,
269
- vscode . commands . registerCommand ( "robotcode.selectExecutionProfiles " , async ( ) => {
269
+ vscode . commands . registerCommand ( "robotcode.selectConfigurationProfiles " , async ( ) => {
270
270
await this . configureRunProfile ( ) ;
271
271
} ) ,
272
272
vscode . workspace . onDidChangeConfiguration ( async ( event ) => {
@@ -465,7 +465,11 @@ export class TestControllerManager {
465
465
}
466
466
467
467
const options = result . profiles . map ( ( p ) => {
468
- return { label : p . name , description : p . description , picked : p . selected } ;
468
+ return {
469
+ label : truncateAndReplaceNewlines ( p . name . trim ( ) ) ,
470
+ description : truncateAndReplaceNewlines ( p . description . trim ( ) ) ,
471
+ picked : p . selected ,
472
+ } ;
469
473
} ) ;
470
474
471
475
const profiles = await vscode . window . showQuickPick ( [ ...options ] , {
You can’t perform that action at this time.
0 commit comments