File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/vs/workbench/contrib/testing/browser Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -546,6 +546,7 @@ class TestingExplorerViewModel extends Disposable {
546
546
@ITestingPeekOpener private readonly peekOpener : ITestingPeekOpener ,
547
547
@ITestProfileService private readonly testProfileService : ITestProfileService ,
548
548
@ITestingContinuousRunService private readonly crService : ITestingContinuousRunService ,
549
+ @ICommandService commandService : ICommandService ,
549
550
) {
550
551
super ( ) ;
551
552
@@ -618,6 +619,12 @@ class TestingExplorerViewModel extends Disposable {
618
619
testService . excluded . onTestExclusionsChanged ,
619
620
) ( this . tree . refilter , this . tree ) ) ;
620
621
622
+ this . _register ( this . tree . onMouseDblClick ( e => {
623
+ if ( e . element instanceof TestItemTreeElement && ! e . element . children . size && e . element . test . item . uri ) {
624
+ commandService . executeCommand ( 'vscode.revealTest' , e . element . test . item . extId ) ;
625
+ }
626
+ } ) ) ;
627
+
621
628
this . _register ( this . tree ) ;
622
629
623
630
this . _register ( this . onChangeWelcomeVisibility ( e => {
You can’t perform that action at this time.
0 commit comments