Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 7741cf8

Browse files
committed
SAVEPOINT
1 parent da6ef3e commit 7741cf8

6 files changed

Lines changed: 33 additions & 2 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace GitHub.Commands
2+
{
3+
public interface IPullRequestFilterCommand : IVsCommand
4+
{
5+
6+
}
7+
}

src/GitHub.Exports/GitHub.Exports.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
<ItemGroup>
146146
<Compile Include="Commands\ICopyLinkCommand.cs" />
147147
<Compile Include="Commands\IBlameLinkCommand.cs" />
148+
<Compile Include="Commands\IPullRequestFilterCommand.cs" />
148149
<Compile Include="Commands\IToggleInlineCommentMarginCommand.cs" />
149150
<Compile Include="Commands\IOpenLinkCommand.cs" />
150151
<Compile Include="Commands\ICreateGistCommand.cs" />

src/GitHub.Exports/Settings/PkgCmdID.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// PkgCmdID.cs
1+
// PkgCmdID.cs
22
// MUST match PkgCmdID.h
33
namespace GitHub.VisualStudio
44
{
@@ -27,5 +27,6 @@ public static class PkgCmdIDList
2727
public const int NextInlineCommentId = 0x1001;
2828
public const int PreviousInlineCommentId = 0x1002;
2929
public const int ToggleInlineCommentMarginId = 0x1003;
30+
public const int PullRequestFilterCommandId = 0x1021;
3031
};
3132
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using System;
2+
using System.ComponentModel.Composition;
3+
using System.Threading.Tasks;
4+
using GitHub.Commands;
5+
using GitHub.Services.Vssdk.Commands;
6+
7+
namespace GitHub.InlineReviews.Commands
8+
{
9+
public class PullRequestFilterCommand: VsCommand, IPullRequestFilterCommand
10+
{
11+
[ImportingConstructor]
12+
public PullRequestFilterCommand(Guid commandSet, int commandId) : base(commandSet, commandId)
13+
{
14+
}
15+
16+
public override Task Execute()
17+
{
18+
}
19+
}
20+
}

src/GitHub.InlineReviews/GitHub.InlineReviews.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
<Compile Include="..\common\SolutionInfo.cs">
7070
<Link>Properties\SolutionInfo.cs</Link>
7171
</Compile>
72+
<Compile Include="Commands\PullRequestFilterCommand.cs" />
7273
<Compile Include="Commands\ToggleInlineCommentMarginCommand.cs" />
7374
<Compile Include="Commands\InlineCommentNavigationCommand.cs" />
7475
<Compile Include="Commands\PreviousInlineCommentCommand.cs" />

src/GitHub.InlineReviews/InlineReviewsPackage.vsct

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
<KeyBindings>
9191
<KeyBinding guid="guidGitHubCommandSet" id="NextInlineCommentId" editor="guidVSStd97" key1="VK_OEM_6" mod1="Alt"/>
9292
<KeyBinding guid="guidGitHubCommandSet" id="PreviousInlineCommentId" editor="guidVSStd97" key1="VK_OEM_4" mod1="Alt"/>
93+
<KeyBinding guid="guidGitHubCommandSet" id="PullRequestFilterCommandId" editor="guidVSStd97" key1="0x52" mod1="Control"/>
9394
</KeyBindings>
9495
<Symbols>
9596
<!-- This is the package guid. -->
@@ -105,7 +106,7 @@
105106

106107
<GuidSymbol name="guidPullRequestFilterCommandPackageCmdSet" value="{7cde2dfc-43c9-41ff-bf2e-bef41cd99e09}">
107108
<IDSymbol name="MyMenuGroup" value="0x1020" />
108-
<IDSymbol name="PullRequestFilterCommandId" value="0x0100" />
109+
<IDSymbol name="PullRequestFilterCommandId" value="0x1021" />
109110
</GuidSymbol>
110111

111112
<GuidSymbol name="guidImages" value="{775aa523-6c52-4c11-9c28-823c99d15613}" >

0 commit comments

Comments
 (0)