Community
Participate
Working Groups
Created attachment 242005 [details] JP keymap To toggle Split Editor (Horizontal) with Japanese keymap, need to enter "Ctrl+=" not "Ctrl+_". Please see an attached screenshot for JP keymap. 1. set japanese keymap on Windows7 2. Open a editor and type "Ctrl+_" ("_" is Shift and \ key in JP keymap) => Editor is not split 3. type "Ctrl+=" ("=" is Shift and - key in JP keymap) => Editor is split Horizontal Environment: OS: Windows 7 Japanese Build: IES4.4 I20140411-1600 JRE 1.7.0 IBM J9 2.6 Windows 7 amd64-64 Compressed References 20140106_181350
What would be good keys to use when in a JP locale? PW
It seems that in JP keymap "Ctrl+Shift+¥" equals "Ctrl+_". "Ctrl+Shift+¥" is used for "Remove Block Comment". After removing the biding of that, Split Editor (Horizontal) works by "Ctrl+_" with JP keymap.
The suggestion was to set it to CTRL+SHIFT+- for jp locale. Is that acceptable? PW
yes, I confirmed that "Ctrl+Shift+-" does not conflict with the default bindings and works in Luna on Japanese Windows.
Fix in https://git.eclipse.org/r/25893 To test before the fix comes, create a simple plugin and add this to the org.eclipse.ui.bindings extension point in its plugin.xml <key locale="jp" contextId="org.eclipse.ui.contexts.window" sequence="M1+_" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> </key> <key locale="jp" commandId="org.eclipse.ui.window.splitEditor" contextId="org.eclipse.ui.contexts.window" sequence="M1+M2+-" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"> <parameter id="Splitter.isHorizontal" value="true"> </parameter> </key>
verified with the simple plugin. Thanks.
Committed: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=ca7e7fb859b744a2e6ef47eda294bcbeea87c8d7
verified with I20140515-1230
This bugfix is not working because locale="jp" is wrong. It must be locale="ja". BTW, Ctrl+Shift+- is working on Windows indeed, but it is because of org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.generatePossibleKeyStrokes(Event) This method creates [CTRL+SHIFT+-, CTRL+_, CTRL+SHIFT+_] when Ctrl+Shift+- is pressed(on Windows(8.1) + 109 keyboard). And CTRL+_ is matched in org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(List<KeyStroke>, Event) Not Ctrl+Shift+-. Ctrl+Shift+- is not assigned to Toggle Split Editor command, so Window>Editor>Toggle Split Editor (Horizontal) menu shows 'Ctrl+_', Preferences>General>Keys>Toggle Split Editor (Horizontal) as well. Eclipse SDK Version: Luna (4.4) Build id: I20140606-1215
Change to locale="ja". PW
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=d893850820cdfa233ef014408bb3480c6e7a1014 and http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R4_4_maintenance&id=9daf900409690ff2bb066dcecc6e500024176556 PW
Verified in 4.4.1 RC2 (M20140827-1200).
Verified on Japanese Windows. Thanks,
Verified in 4.5 M2 candidate (I20140915-2000).