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 764764 "title" : " Clear Cache and Restart Language Servers" ,
765765 "category" : " RobotCode" ,
766766 "command" : " robotcode.clearCacheRestartLanguageServers"
767+ },
768+ {
769+ "title" : " Select Execution Profiles" ,
770+ "category" : " RobotCode" ,
771+ "command" : " robotcode.selectExecutionProfiles"
767772 }
768773 ],
769774 "menus" : {
Original file line number Diff line number Diff line change @@ -285,6 +285,9 @@ export class TestControllerManager {
285285 } ) ,
286286 vscode . commands . registerCommand ( "robotcode.debugCurrentFile" , async ( ...args ) => {
287287 await vscode . commands . executeCommand ( "testing.debugCurrentFile" , ...args ) ;
288+ } ) ,
289+ vscode . commands . registerCommand ( "robotcode.selectExecutionProfiles" , async ( ) => {
290+ await this . configureRunProfile ( ) ;
288291 } )
289292 ) ;
290293 }
@@ -304,7 +307,7 @@ export class TestControllerManager {
304307 ] ) ) as RobotCodeProfilesResult ;
305308 }
306309
307- private async configureRunProfile ( ) : Promise < void > {
310+ public async configureRunProfile ( ) : Promise < void > {
308311 if ( vscode . workspace . workspaceFolders === undefined || vscode . workspace . workspaceFolders ?. length === 0 ) return ;
309312
310313 const folders = await filterAsync (
You can’t perform that action at this time.
0 commit comments