diff options
author | Manuel Klimek <klimek@google.com> | 2013-11-12 15:25:18 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-11-12 15:25:18 +0000 |
commit | eff9a4d336e8c095bb7732261cdb24f08808f564 (patch) | |
tree | d43c7c28d761fb6360cdae8ba4849056c39b9462 /clang/tools | |
parent | c544d5b7e8cdacf8ad2b1b121ee2095817572ac7 (diff) | |
download | llvm-eff9a4d336e8c095bb7732261cdb24f08808f564.zip llvm-eff9a4d336e8c095bb7732261cdb24f08808f564.tar.gz llvm-eff9a4d336e8c095bb7732261cdb24f08808f564.tar.bz2 |
Fix key bindings for VS 2010.
Set the default key-binding only in the text editor; the
global binding of ctrl-r,ctrl-f was already taken in VS 2010.
llvm-svn: 194482
Diffstat (limited to 'clang/tools')
-rw-r--r-- | clang/tools/clang-format-vs/ClangFormat/ClangFormat.vsct | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/tools/clang-format-vs/ClangFormat/ClangFormat.vsct b/clang/tools/clang-format-vs/ClangFormat/ClangFormat.vsct index 507c7c9..3e3e22e 100644 --- a/clang/tools/clang-format-vs/ClangFormat/ClangFormat.vsct +++ b/clang/tools/clang-format-vs/ClangFormat/ClangFormat.vsct @@ -88,7 +88,7 @@ <KeyBindings>
- <KeyBinding guid="guidClangFormatCmdSet" id="cmdidClangFormat" editor="guidVSStd97" key1="R" mod1="Control" key2="F" mod2="Control"/>
+ <KeyBinding guid="guidClangFormatCmdSet" id="cmdidClangFormat" editor="guidTextEditor" key1="R" mod1="Control" key2="F" mod2="Control"/>
</KeyBindings>
@@ -103,9 +103,10 @@ <IDSymbol name="MyMenuGroup" value="0x1020" />
<IDSymbol name="cmdidClangFormat" value="0x0100" />
</GuidSymbol>
-
-
-
+
+ <GuidSymbol name="guidTextEditor" value="{8B382828-6202-11d1-8870-0000F87579D2}" />
+
+
<GuidSymbol name="guidImages" value="{6d53937b-9ae1-42e1-8849-d876dcdbad7b}" >
<IDSymbol name="bmpPic1" value="1" />
<IDSymbol name="bmpPic2" value="2" />
|