IntelliJ,Alt + Enter不起作用 [英] IntelliJ, Alt+Enter doesnt work
问题描述
在JavaProject上使用IntelliJ时,它显示使用alt + enter来导入一个类,例如,但这不再起作用了。
它过去有效,但必须改变,
- 快捷方式仍然设置,
- 其他快捷方式将工作
- 我无法手动分配alt +输入,但如果我将其重置为默认它将设置为它,
任何想法如何解决我的问题?
顺便说一句我的键盘布局是德语,但我不认为这是问题,因为它过去有效,我的操作系统是赢7.编辑:当我在IDE中工作时我例如编写
Arrays.toString(a);
并且还没有导入java.util.Arrays,IDE说:
? java.util.Arrays?Alt + Eingabe (Eingabe =用德语输入)
所以当我指定一个不同的快捷方式时它可以工作,但是使用Alt + Enter它不会
谢谢提前获取任何帮助。
When working with IntelliJ on a JavaProject it shows to use alt + enter to import a class for example, but this isnt working anymore.
It worked in the past, but something must have changed,
-the shortcut is still set,
-other shortcut would work
- i cant assign alt+enter manually, although if i reset it to default it gets set to it,
any ideas how to fix my problem?
btw my keyboard layout is german, but i dont think it is the problem because it worked in the past, my os is win 7.
edited: when i am working within the IDE and i e.g. write
Arrays.toString(a);
and didn't import "java.util.Arrays" yet, the IDE says:
" ? java.util.Arrays? Alt+Eingabe" (Eingabe = Enter in German)
so when i assign a different shortcut it works, but with Alt+Enter it doesnt
thanks in advance for any help.
推荐答案
嗯,这意味着IDE出于某种原因没有看到快捷方式。可能它已经是一些其他应用程序或操作系统使用。 - CrazyCoder 25分钟前
"Well, it means IDE doesn't see the shortcut for some reason. Probably it's already used by some other application or the operating system. – CrazyCoder 25 mins ago "
我关闭了所有应用程序,事实证明,Facebook GameRoom,在后台运行,不知何故是快捷方式不起作用的原因,我不知道为什么,但那就是解决方案
i closed all applications and it turns out that, Facebook GameRoom, running in the background, somehow is the reason the shortcut doesn't work, i have no idea why, but thats the solution
非常感谢CrazyCoder
many thanks to CrazyCoder
这篇关于IntelliJ,Alt + Enter不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!