|
5 | 5 | <Extern href="vsshlids.h"/> |
6 | 6 |
|
7 | 7 | <Commands package="guidEasyMotionPkg"> |
| 8 | + |
8 | 9 | <Groups> |
9 | | - <!-- Add the command to the Tools menu (in its own menu group) --> |
10 | | - <Group guid="guidEasyMotionCmdSet" id="EasyMotionMenuGroup" priority="0x0100"> |
11 | | - <Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_TOOLS"/> |
| 10 | + <!-- Add the command to the Edit->GoTo menu --> |
| 11 | + <Group guid="guidEasyMotionCmdSet" id="EasyMotionGotoGroup" priority="0x0150"> |
| 12 | + <!--<Parent guid="guidSHLMainMenu" id="IDG_VS_GOTO"/>--> |
| 13 | + <Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO"/> |
| 14 | + </Group> |
| 15 | + <!-- Add the command to the main Edit menu --> |
| 16 | + <Group guid="guidEasyMotionCmdSet" id="EasyMotionEditGroup" priority="0x0050"> |
| 17 | + <Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_EDIT"/> |
12 | 18 | </Group> |
13 | 19 | </Groups> |
14 | 20 |
|
15 | 21 | <Buttons> |
16 | | - <Button guid="guidEasyMotionCmdSet" id="CmdEasyMotionNavigate" priority="0x0100" type="Button"> |
17 | | - <Parent guid="guidEasyMotionCmdSet" id="EasyMotionMenuGroup" /> |
| 22 | + <Button guid="guidEasyMotionCmdSet" id="CmdEasyMotionNavigate" type="Button"> |
18 | 23 | <!-- Only show the button when a TextEditor is in focus. (Requires VisibiltyContraint)--> |
19 | 24 | <CommandFlag>DynamicVisibility</CommandFlag> |
20 | 25 | <CommandFlag>DefaultInvisible</CommandFlag> |
21 | 26 | <Strings> |
22 | 27 | <!-- Set the keyboard accelerator with & before the hotkey --> |
23 | | - <ButtonText>Eas&yMotion Navigate</ButtonText> |
| 28 | + <ButtonText>Go To &Character...</ButtonText> |
24 | 29 | <CanonicalName>.EasyMotion.Navigate</CanonicalName> |
25 | 30 | <LocCanonicalName>.EasyMotion.Navigate</LocCanonicalName> |
26 | 31 | </Strings> |
|
29 | 34 |
|
30 | 35 | </Commands> |
31 | 36 |
|
| 37 | + <CommandPlacements> |
| 38 | + <CommandPlacement guid="guidEasyMotionCmdSet" id="CmdEasyMotionNavigate" priority="0x0100"> |
| 39 | + <Parent guid="guidEasyMotionCmdSet" id="EasyMotionGotoGroup" /> |
| 40 | + </CommandPlacement> |
| 41 | + <CommandPlacement guid="guidEasyMotionCmdSet" id="CmdEasyMotionNavigate" priority="0x0100"> |
| 42 | + <Parent guid="guidEasyMotionCmdSet" id="EasyMotionEditGroup" /> |
| 43 | + </CommandPlacement> |
| 44 | + </CommandPlacements> |
| 45 | + |
32 | 46 | <VisibilityConstraints> |
33 | 47 | <!-- Enable the command only when a text editor is in focus. (Requires Button to have DynamicVisibility CommandFlag) --> |
34 | 48 | <VisibilityItem guid="guidEasyMotionCmdSet" id="CmdEasyMotionNavigate" context="GUID_TextEditorFactory"/> |
|
43 | 57 | <GuidSymbol name="guidEasyMotionPkg" value="{5bb019ad-a18e-4c86-af3c-27217853df95}" /> |
44 | 58 |
|
45 | 59 | <GuidSymbol name="guidEasyMotionCmdSet" value="{907a344a-75bb-4df4-a3b3-9bc3299593b7}"> |
46 | | - <IDSymbol name="EasyMotionMenuGroup" value="0x1020" /> |
| 60 | + <IDSymbol name="EasyMotionGotoGroup" value="0x1020" /> |
| 61 | + <IDSymbol name="EasyMotionEditGroup" value="0x1030" /> |
47 | 62 | <IDSymbol name="CmdEasyMotionNavigate" value="0x0100" /> |
48 | 63 | </GuidSymbol> |
49 | 64 |
|
|
0 commit comments