This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
GitHub.VisualStudio/Commands Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ public class MeasuresModel
7575 public int NumberOfOriginsUpdatedWhenForkingRepo { get ; set ; }
7676 public int NumberOfUpstreamsAddedWhenForkingRepo { get ; set ; }
7777 public int NumberOfTrackMasterUpstreamWhenForkingRepo { get ; set ; }
78+ public int ExecuteGoToSolutionOrPullRequestFileCommand { get ; set ; }
7879 public int NumberOfNavigateToPullRequestFileDiff { get ; set ; }
7980 public int NumberOfNavigateToCodeView { get ; set ; }
8081 public int ExecuteToggleInlineCommentMarginCommand { get ; set ; }
Original file line number Diff line number Diff line change 11using System ;
22using System . ComponentModel . Composition ;
33using GitHub . Services ;
4+ using GitHub . Extensions ;
45using GitHub . VisualStudio ;
56using GitHub . Services . Vssdk . Commands ;
67using Microsoft . VisualStudio ;
@@ -54,6 +55,8 @@ public GoToSolutionOrPullRequestFileCommand(
5455
5556 public override async Task Execute ( )
5657 {
58+ usageTracker . Value . IncrementCounter ( x => x . ExecuteGoToSolutionOrPullRequestFileCommand ) . Forget ( ) ;
59+
5760 try
5861 {
5962 var sourceView = pullRequestEditorService . Value . FindActiveView ( ) ;
You can’t perform that action at this time.
0 commit comments