Eclipse IDE:第三级键盘符号未显示
我在尝试使用 AltGr + [1-9] 按钮在 Eclipse IDE 中打印第三级键盘符号时遇到问题。具体来说,我使用立陶宛语键盘布局,每当我按 AltGr + 数字时,我都会打印第一级和第三级符号。例如,如果我按 AltGr + 1,则会打印以下两个符号:
±1
(“ą”是第 1 级符号,“1”是第 3 级符号)
对于 AltGr + 2 如下:
č2
(“č”是第一级符号,而“2”是第三级符号)
等
我尝试搜索是否有 AltGr + 数字或 Ctrl + Alt + 数字键快捷键,但找不到任何快捷键。 我测试了一些其他键盘布局,发现在其他键盘上,第三级照常工作并且仅打印一个符号。但是,我还想指出,使用立陶宛布局 AltGr + E 可以完全正常工作并打印单个 € 符号。 还值得注意的是,我在运行 Windows 7、Windows XP 和 Red Hat Linux 的不同机器上遇到了同样的问题。这可能表明必须在 eclipse 内部找到解决方案。但是,我没能做到这一点,如果有人可以帮助我解决这个问题,我将不胜感激。
I am having a problem when trying to print 3rd level keyboard symbols in Eclipse IDE with AltGr + [1-9] buttons. Specifically I am using Lithuanian keyboard layout and whenever I press AltGr + number I get both 1st level and 3rd level symbols printed. Eg., if I hit AltGr + 1, I get the following two symbols printed:
ą1
('ą' is the 1st level symbol, while '1' is the 3rd level one)
For AltGr + 2 it's as follows:
č2
('č' is the 1st level symbol, while '2' is the 3rd level one)
and etc
I have tried searching if there were AltGr + number or Ctrl + Alt + number key shortucts but could not find any.
I have tested some other keyboard layouts and found that on other keyboards the 3rd level works as usual and prints only one symbol. However, I would also like to note that with the Lithuanian layout AltGr + E works completely fine and prints a single € symbol.
It is also worth noting that I have encountered the same problem on different machines running Windows 7, Windows XP and Red Hat Linux. This may suggest that a solution must be found inside eclipse. However, I have failed to do that and I would appreciate if somebody could help me to solve this problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为你应该向 Eclipse 提交一个错误。
或者,您可以尝试自己调试 Eclipse。 SWT 库是通向与操作系统交互并处理按键等操作的低级方法的门户。如果您查看 org.eclipse.swt.Control,您可以找到放置断点的位置。
要调试 Eclipse,您需要 Eclipse SDK(与 RCP/RAP 版本捆绑在一起,即 http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/indigor)。然后,您创建一个 Eclipse 应用程序启动目标并以调试模式启动它。
但是提交一个错误!
I think you should file a bug with Eclipse.
Alternatively, you could try to debug Eclipse yourself. The SWT library is the gateway to low-level methods that interface with the OS and handle keypresses and the like. If you looked at org.eclipse.swt.Control, you could find places to put breakpoints.
To debug Eclipse, you need the Eclipse SDK (which comes bundled with the RCP/RAP edition, i.e. http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/indigor). Then you create an Eclipse Application launch target and launch it in debug mode.
But file a bug!