Eclipse和PDT:我不能再键入f字母了。

时间:2023-01-17 19:16:19

Sorry if it appears as stupid question, but really I can not work anymore, and this is ... sad. Eclipse continue to assign F to format code (Menu->Source->Format). I found a way to reset to default, but suddenly after switching to other window (browser) eclipse restore the key binding. I can go back anymore.

很抱歉这个问题看起来很愚蠢,但我真的不能再工作了,这是…伤心。Eclipse继续将F分配给format代码(菜单->源代码->格式)。我找到了一种重置默认设置的方法,但在切换到其他窗口(浏览器)eclipse后,突然恢复了键绑定。我可以再回去了。

Is there a quick direction to follow to make it work as before? there is something that could cause this to happen? what? a key sequence? it worked until now, where do I look for a possible cause of such a weird behavior?

是否有一个快速的方向让它像以前一样工作?有什么东西会导致这一切发生?什么?键序列?直到现在,我还在寻找导致这种奇怪行为的可能原因?

I do changed file /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/menuproxies/libappmenu.so (s/Eclipse/Xclipse/) for ubuntu menu, could it had caused the problem?

我确实更改了文件/usr/lib/x86_64 linux-gnu/gtk-2.0/2.10.0/menuproxies/libappmenu。那么(s/Eclipse/Xclipse/)对于ubuntu菜单来说,它是否导致了问题?

1 个解决方案

#1


0  

The last question lead to a conclusion: yes it is related to main menu issue.

最后一个问题引出一个结论:是的,它与主菜单问题有关。

So disable it with

所以禁用它

cd /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/menuproxies sudo sed -i 's/Xclipse/Eclipse/' libappmenu.so

cd /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/menuproxies sudo sed -i 's/Xclipse/Eclipse/' libappmenu.so

I think discussion should be continued here: https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/618587

我认为这里应该继续讨论:https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/618587

#1


0  

The last question lead to a conclusion: yes it is related to main menu issue.

最后一个问题引出一个结论:是的,它与主菜单问题有关。

So disable it with

所以禁用它

cd /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/menuproxies sudo sed -i 's/Xclipse/Eclipse/' libappmenu.so

cd /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/menuproxies sudo sed -i 's/Xclipse/Eclipse/' libappmenu.so

I think discussion should be continued here: https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/618587

我认为这里应该继续讨论:https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/618587