r194482 - Fix key bindings for VS 2010.
Manuel Klimek
klimek at google.com
Tue Nov 12 07:25:18 PST 2013
Author: klimek
Date: Tue Nov 12 09:25:18 2013
New Revision: 194482
URL: http://llvm.org/viewvc/llvm-project?rev=194482&view=rev
Log:
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.
Modified:
cfe/trunk/tools/clang-format-vs/ClangFormat/ClangFormat.vsct
Modified: cfe/trunk/tools/clang-format-vs/ClangFormat/ClangFormat.vsct
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format-vs/ClangFormat/ClangFormat.vsct?rev=194482&r1=194481&r2=194482&view=diff
==============================================================================
--- cfe/trunk/tools/clang-format-vs/ClangFormat/ClangFormat.vsct (original)
+++ cfe/trunk/tools/clang-format-vs/ClangFormat/ClangFormat.vsct Tue Nov 12 09:25:18 2013
@@ -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" />
More information about the cfe-commits
mailing list