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 824824 "command" : " robotcode.clearCacheRestartLanguageServers"
825825 },
826826 {
827- "title" : " Select Execution Profiles" ,
827+ "title" : " Select Configuration Profiles" ,
828828 "category" : " RobotCode" ,
829- "command" : " robotcode.selectExecutionProfiles "
829+ "command" : " robotcode.selectConfigurationProfiles "
830830 },
831831 {
832832 "title" : " Refresh" ,
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ export class TestControllerManager {
266266 vscode . commands . registerCommand ( "robotcode.debugCurrentFile" , async ( ...args ) => {
267267 await vscode . commands . executeCommand ( "testing.debugCurrentFile" , ...args ) ;
268268 } ) ,
269- vscode . commands . registerCommand ( "robotcode.selectExecutionProfiles " , async ( ) => {
269+ vscode . commands . registerCommand ( "robotcode.selectConfigurationProfiles " , async ( ) => {
270270 await this . configureRunProfile ( ) ;
271271 } ) ,
272272 vscode . workspace . onDidChangeConfiguration ( async ( event ) => {
@@ -465,7 +465,11 @@ export class TestControllerManager {
465465 }
466466
467467 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+ } ;
469473 } ) ;
470474
471475 const profiles = await vscode . window . showQuickPick ( [ ...options ] , {
You can’t perform that action at this time.
0 commit comments