summaryrefslogtreecommitdiff
path: root/tools/clang-format-vs
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-11-12 15:25:18 +0000
committerManuel Klimek <klimek@google.com>2013-11-12 15:25:18 +0000
commit4fba6ae921d74ec74608c63e8422090f4efaf31f (patch)
treef9bab205841ce1903d4e09b36f385bc6567f699e /tools/clang-format-vs
parent701c45a6ff0eeb1f838758b0e5ba429b13bc927f (diff)
downloadclang-4fba6ae921d74ec74608c63e8422090f4efaf31f.tar.gz
clang-4fba6ae921d74ec74608c63e8422090f4efaf31f.tar.bz2
clang-4fba6ae921d74ec74608c63e8422090f4efaf31f.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-format-vs')
-rw-r--r--tools/clang-format-vs/ClangFormat/ClangFormat.vsct9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/clang-format-vs/ClangFormat/ClangFormat.vsct b/tools/clang-format-vs/ClangFormat/ClangFormat.vsct
index 507c7c9e43..3e3e22e67d 100644
--- a/tools/clang-format-vs/ClangFormat/ClangFormat.vsct
+++ b/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" />