diff --git a/HotCommands/CommandFilter.cs b/HotCommands/CommandFilter.cs
index 7105295..e07f7c4 100644
--- a/HotCommands/CommandFilter.cs
+++ b/HotCommands/CommandFilter.cs
@@ -53,9 +53,9 @@ public int Exec(ref Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pv
return MoveMemberUp.Instance.HandleCommand(textView,GetShellCommandDispatcher(), editorOperations);
case Constants.MoveMemberDownCmdId:
return MoveMemberDown.Instance.HandleCommand(textView,GetShellCommandDispatcher(), editorOperations);
- case Constants.cmdidMoveCursorPrevMember:
+ case Constants.GoToPreviousMemberCmdId:
return MoveCursorToAdjacentMember.MoveToPreviousMember(textView, editorOperations);
- case Constants.cmdidMoveCursorNextMember:
+ case Constants.GoToNextMemberCmdId:
return MoveCursorToAdjacentMember.MoveToNextMember(textView, editorOperations);
}
}
@@ -82,8 +82,8 @@ public int QueryStatus(ref Guid pguidCmdGroup, uint cCmds, OLECMD[] prgCmds, Int
case Constants.DuplicateSelectionReverseCmdId:
case Constants.MoveMemberUpCmdId:
case Constants.MoveMemberDownCmdId:
- case Constants.cmdidMoveCursorPrevMember:
- case Constants.cmdidMoveCursorNextMember:
+ case Constants.GoToPreviousMemberCmdId:
+ case Constants.GoToNextMemberCmdId:
prgCmds[0].cmdf |= (uint)OLECMDF.OLECMDF_ENABLED;
return VSConstants.S_OK;
}
diff --git a/HotCommands/Constants.cs b/HotCommands/Constants.cs
index 92c59dc..aed1708 100644
--- a/HotCommands/Constants.cs
+++ b/HotCommands/Constants.cs
@@ -13,7 +13,7 @@ public class Constants
public const uint FormatCodeCmdId = 0x1027;
public const uint MoveMemberUpCmdId = 0x1031;
public const uint MoveMemberDownCmdId = 0x1032;
- public const uint cmdidMoveCursorPrevMember = 0x1033;
- public const uint cmdidMoveCursorNextMember = 0x1034;
+ public const uint GoToPreviousMemberCmdId = 0x1033;
+ public const uint GoToNextMemberCmdId = 0x1034;
}
}
diff --git a/HotCommands/HotCommandsPackage.vsct b/HotCommands/HotCommandsPackage.vsct
index 9680a96..da9bf81 100644
--- a/HotCommands/HotCommandsPackage.vsct
+++ b/HotCommands/HotCommandsPackage.vsct
@@ -60,14 +60,12 @@
If you do not want an image next to your command, remove the Icon node /> -->
@@ -76,9 +74,8 @@
DefaultInvisible
Duplicate Selection
- Duplicate Selection
+ &Duplicate Selection
Duplicates the selected lines.
- DuplicateSelection
-
-
-