File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 764
764
"title" : " Clear Cache and Restart Language Servers" ,
765
765
"category" : " RobotCode" ,
766
766
"command" : " robotcode.clearCacheRestartLanguageServers"
767
+ },
768
+ {
769
+ "title" : " Select Execution Profiles" ,
770
+ "category" : " RobotCode" ,
771
+ "command" : " robotcode.selectExecutionProfiles"
767
772
}
768
773
],
769
774
"menus" : {
Original file line number Diff line number Diff line change @@ -285,6 +285,9 @@ export class TestControllerManager {
285
285
} ) ,
286
286
vscode . commands . registerCommand ( "robotcode.debugCurrentFile" , async ( ...args ) => {
287
287
await vscode . commands . executeCommand ( "testing.debugCurrentFile" , ...args ) ;
288
+ } ) ,
289
+ vscode . commands . registerCommand ( "robotcode.selectExecutionProfiles" , async ( ) => {
290
+ await this . configureRunProfile ( ) ;
288
291
} )
289
292
) ;
290
293
}
@@ -304,7 +307,7 @@ export class TestControllerManager {
304
307
] ) ) as RobotCodeProfilesResult ;
305
308
}
306
309
307
- private async configureRunProfile ( ) : Promise < void > {
310
+ public async configureRunProfile ( ) : Promise < void > {
308
311
if ( vscode . workspace . workspaceFolders === undefined || vscode . workspace . workspaceFolders ?. length === 0 ) return ;
309
312
310
313
const folders = await filterAsync (
You can’t perform that action at this time.
0 commit comments