Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keyboard accelerators for Attach commands. #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/VsChromium/VsChromium.vsct
Original file line number Diff line number Diff line change
Expand Up @@ -84,23 +84,23 @@
<Icon guid="guidPackageChromeDebugImages" id="bmpAttachChoose" />
<Strings>
<CommandName>Chrome Debug: Open "Attach To Chrome" dialog</CommandName>
<ButtonText>Choose...</ButtonText>
<ButtonText>Attach to Chrome Process...</ButtonText>
</Strings>
</Button>
<Button guid="guidChromeDebugCmdSet" id="cmdidAttachToAllChromes" priority="0x0000" type="Button">
<Parent guid="guidChromeDebugCmdSet" id="ChromeDebugMenuGroup" />
<Icon guid="guidPackageChromeDebugImages" id="bmpAttachAll" />
<Strings>
<CommandName>Chrome Debug: Attach to all running Chrome processes</CommandName>
<ButtonText>All Running Processes</ButtonText>
<ButtonText>Attach to All Chrome Processes</ButtonText>
</Strings>
</Button>
<Button guid="guidChromeDebugCmdSet" id="cmdidAttachToChromeTree" priority="0x0001" type="Button">
<Parent guid="guidChromeDebugCmdSet" id="ChromeDebugMenuGroup" />
<Icon guid="guidPackageChromeDebugImages" id="bmpAttachDescendants" />
<Strings>
<CommandName>Chrome Debug: Attach to descendants of current debug session</CommandName>
<ButtonText>Descendants of Current Debug Session</ButtonText>
<ButtonText>Attach to Descendants of Currently Debugged Processes</ButtonText>
</Strings>
</Button>
</Buttons>
Expand All @@ -111,10 +111,16 @@
</Commands>
<KeyBindings>
<!-- Note: VK_OEM_1 is the semicolon character on US keyboards. -->
<!-- Note: VK_OEM_4 is the [ character on US keyboards. This is picked
so "Ctrl+Alt+[" (vs-chromium's Attach to Chrome chooser dialog) is adjacent
to "Ctrl+Alt+P" (Visual Studio's inbuilt Attach To Process... dialog). -->
<KeyBinding guid="guidVsChromiumCmdSet" id="cmdidSearchFileNames" editor="guidVSStd97" key1="VK_OEM_1" mod1="Alt" />
<KeyBinding guid="guidVsChromiumCmdSet" id="cmdidSearchDirectoryNames" editor="guidVSStd97" key1="VK_OEM_1" mod1="Alt Shift" />
<KeyBinding guid="guidVsChromiumCmdSet" id="cmdidSearchFileContents" editor="guidVSStd97" key1="VK_OEM_1" mod1="Control Shift" />
<KeyBinding guid="guidVsChromiumCmdSet" id="cmdidFormatComment" editor="guidVSStd97" key1="k" mod1="Control" key2="c" />
<KeyBinding guid="guidChromeDebugCmdSet" id="cmdidAttachToChromeDialog" editor="guidVSStd97" key1="VK_OEM_4" mod1="Control Alt" />
<KeyBinding guid="guidChromeDebugCmdSet" id="cmdidAttachToChromeTree" editor="guidVSStd97" key1="VK_OEM_4" mod1="Alt" />
<KeyBinding guid="guidChromeDebugCmdSet" id="cmdidAttachToAllChromes" editor="guidVSStd97" key1="VK_OEM_4" mod1="Control" />
</KeyBindings>
<Symbols>
<!-- This is the package guid. -->
Expand Down