Skip to content

Commit ea37d9e

Browse files
Update command canonical names and docs for clarity
- πŸ“ Updated README to reference OpenCommandLine.OpenDefault for shortcut customization instructions - πŸ› οΈ Changed <CanonicalName> to more specific values in vsct menus - 🌐 Replaced <CanonicalName> with <LocCanonicalName> for buttons to improve localization support [release]
1 parent a223ead commit ea37d9e

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Right-click on any project, solution, folder, or file in Solution Explorer to op
3030
| `Alt+Shift+.` | Open PowerShell |
3131
| `Ctrl+Shift+X` | Execute current batch/script file |
3232

33-
You can customize these shortcuts in **Tools β†’ Options β†’ Environment β†’ Keyboard**. Search for commands starting with `ProjectAndSolutionContextMenus.Project.OpenCommandLine`.
33+
You can customize these shortcuts in **Tools β†’ Options β†’ Environment β†’ Keyboard**. Search for commands starting with `OpenCommandLine.OpenDefault`.
3434

3535
### Built-in Presets
3636

β€Žsrc/OpenCommandLine/OpenCommandLine.vsctβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_FOLDER_EXPLORE" />
1313
<Strings>
1414
<ButtonText>Open Command Line</ButtonText>
15-
<CanonicalName>.OpenCommandLine.OpenCommandLine</CanonicalName>
15+
<CanonicalName>.OpenCommandLine.SolutionMenu</CanonicalName>
1616
</Strings>
1717
</Menu>
1818

@@ -21,7 +21,7 @@
2121
<Parent guid="guidOpenCommandLineCmdSet" id="WorkspaceMenuGroup" />
2222
<Strings>
2323
<ButtonText>Open Command Line</ButtonText>
24-
<CanonicalName>.OpenCommandLine.OpenCommandLine</CanonicalName>
24+
<CanonicalName>.OpenCommandLine.WorkspaceMenu</CanonicalName>
2525
</Strings>
2626
</Menu>
2727
</Menus>
@@ -64,7 +64,7 @@
6464
<Strings>
6565
<CommandName>Open Command Line</CommandName>
6666
<ButtonText>Default</ButtonText>
67-
<CanonicalName>.OpenCommandLine.OpenDefault</CanonicalName>
67+
<LocCanonicalName>.OpenCommandLine.OpenDefault</LocCanonicalName>
6868
</Strings>
6969
</Button>
7070
<Button guid="guidOpenCommandLineCmdSet" id="cmdidOpenCmd" priority="0x0100" type="Button">
@@ -73,7 +73,7 @@
7373
<Strings>
7474
<CommandName>Open Developer Command Prompt</CommandName>
7575
<ButtonText>Developer Command Prompt</ButtonText>
76-
<CanonicalName>.OpenCommandLine.DeveloperCommandPrompt</CanonicalName>
76+
<LocCanonicalName>.OpenCommandLine.DeveloperCommandPrompt</LocCanonicalName>
7777
</Strings>
7878
</Button>
7979
<Button guid="guidOpenCommandLineCmdSet" id="cmdidOpenPowershell" priority="0x0200" type="Button">
@@ -82,15 +82,15 @@
8282
<Strings>
8383
<CommandName>Open PowerShell</CommandName>
8484
<ButtonText>PowerShell</ButtonText>
85-
<CanonicalName>.OpenCommandLine.OpenPowerShell</CanonicalName>
85+
<LocCanonicalName>.OpenCommandLine.OpenPowerShell</LocCanonicalName>
8686
</Strings>
8787
</Button>
8888
<Button guid="guidOpenCommandLineCmdSet" id="cmdidOpenOptions" priority="0x0200" type="Button">
8989
<Parent guid="guidOpenCommandLineCmdSet" id="OptionsMenuGroup" />
9090
<Strings>
9191
<CommandName>Open Command Line Options</CommandName>
9292
<ButtonText>Settings...</ButtonText>
93-
<CanonicalName>.OpenCommandLine.Settings</CanonicalName>
93+
<LocCanonicalName>.OpenCommandLine.Settings</LocCanonicalName>
9494
</Strings>
9595
</Button>
9696
<Button guid="guidOpenCommandLineCmdSet" id="cmdExecuteCmd" priority="0x0700" type="Button">
@@ -100,7 +100,7 @@
100100
<CommandFlag>DynamicVisibility</CommandFlag>
101101
<Strings>
102102
<ButtonText>Execute File</ButtonText>
103-
<CanonicalName>.OpenCommandLine.ExecuteFile</CanonicalName>
103+
<LocCanonicalName>.OpenCommandLine.ExecuteFile</LocCanonicalName>
104104
</Strings>
105105
</Button>
106106
</Buttons>

0 commit comments

Comments
Β (0)