系统切换输入法的快捷键与idea的快捷键冲突,于是从网上找了一下解决的办法,在语言设置里面修改或禁用快捷键的方法是不行的,会在系统重启后重置,需要修改注册表才可以。
在superuser上看到该问题的解决办法,如下所示:
I’ve been aware of this Windows bug for years. After tons of unsatisfying workarounds and fruitless searching the one or two times a year I attempt to find a solution, I finally have it!
Procedure
Go to Start > Type in regedit and start it Navigate to
HKEY_CURRENT_USER/Control Panel/Input Method/Hot Keys Select the key
named: 00000070 for the Chinese (Traditional) IME - Ime/NonIme Toggle
hotkey 00000010 for the Chinese (Simplified) IME - Ime/NonIme Toggle
hotkey In the right sub-window, there are three subkeys. Key Modifiers
designate Alt/Ctrl/Shift/etc and is set to Ctrl (02c00000). Virtual
Key designates the finishing key and is set to Space (20000000).
Change the first byte in Key Modifiers from 02 to 00 Change the first
byte in Virtual Key from 20 to FF Log off and log back on. I don’t
think it’s necessary to restart. Do not change the Hot keys for input
languages in Control Panel, unless you want to do this all over again.
Notes: Symptoms
Each registry key (thing that looks like a folder) is for each
specific hotkey setting that you would normally find in Control Panel
Region and Language > Keyboards and Languages > Change keyboards… > Advanced Key Settings > Hot keys for input languages. The recurring bug is the hotkey being automatically reset to Ctrl+space even if
changed via the GUI.
I can personally confirm this for Windows 7 64-bit and Windows 8.1,
though from my research, it looks like it may work for XP and Vista as
well.
Sources:
Traditional Chinese Pocket IME Hot Key Registry Settings
Simplified Chinese MSPY 3.0 IME Hot Key Registry Settings
翻译过来的解决方法就是:
1. 打开注册表,跳转到HKEY_CURRENT_USER/Control Panel/Input Method/Hot Keys目录下面
2. 选择00000070(中文繁体)或者00000010(中文简体)
3. 将Key Modifiers的第一个字节设置为00(02c00000->00c00000)
4. 将Virtual Key的第一个字节设置为ff(20000000->ff000000)
5. 注销用户然后重新登录,搞定
另外
HKEY_CURRENT_USER/Control Panel/Input Method/Hot Keys,保存的是当前用户的快捷键配置;
HKEY_USERS.DEFAULT\Control Panel\Input Method\Hot Keys,保存的是默认的快捷键配置;
若修改上一个注册表不好使,那就把下面的默认的也修改了
---------------------
作者:AAAAAAAIXX
来源:CSDN
原文:https://blog.csdn.net/asdfayw/article/details/53465080
版权声明:本文为博主原创文章,转载请附上博文链接!