Skip to content

Commit 7f766ab

Browse files
committed
Re-labelled the menu item "Go To Character..."
Move menu command to the Edit menu.
1 parent 5643f07 commit 7f766ab

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

EasyMotion/EasyMotion.vsct

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,27 @@
55
<Extern href="vsshlids.h"/>
66

77
<Commands package="guidEasyMotionPkg">
8+
89
<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"/>
1218
</Group>
1319
</Groups>
1420

1521
<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">
1823
<!-- Only show the button when a TextEditor is in focus. (Requires VisibiltyContraint)-->
1924
<CommandFlag>DynamicVisibility</CommandFlag>
2025
<CommandFlag>DefaultInvisible</CommandFlag>
2126
<Strings>
2227
<!-- Set the keyboard accelerator with &amp; before the hotkey -->
23-
<ButtonText>Eas&amp;yMotion Navigate</ButtonText>
28+
<ButtonText>Go To &amp;Character...</ButtonText>
2429
<CanonicalName>.EasyMotion.Navigate</CanonicalName>
2530
<LocCanonicalName>.EasyMotion.Navigate</LocCanonicalName>
2631
</Strings>
@@ -29,6 +34,15 @@
2934

3035
</Commands>
3136

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+
3246
<VisibilityConstraints>
3347
<!-- Enable the command only when a text editor is in focus. (Requires Button to have DynamicVisibility CommandFlag) -->
3448
<VisibilityItem guid="guidEasyMotionCmdSet" id="CmdEasyMotionNavigate" context="GUID_TextEditorFactory"/>
@@ -43,7 +57,8 @@
4357
<GuidSymbol name="guidEasyMotionPkg" value="{5bb019ad-a18e-4c86-af3c-27217853df95}" />
4458

4559
<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" />
4762
<IDSymbol name="CmdEasyMotionNavigate" value="0x0100" />
4863
</GuidSymbol>
4964

0 commit comments

Comments
 (0)