IntelliJ, Alt+Enter doesnt work

后端 未结 7 1558
孤城傲影
孤城傲影 2020-12-20 11:42

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 some

相关标签:
7条回答
  • 2020-12-20 11:48

    On my side, culprit is some VPN software called PulseSecure

    fn + Alt+Enter+Shift worked for me (credits @ketankk).

    0 讨论(0)
  • 2020-12-20 11:55

    It was working earlier but it stopped working due to unknown reason,

    One workaround is Try fn+Alt+Enter

    0 讨论(0)
  • 2020-12-20 12:03

    I had the same problem
    and it turned out to be the keyboard language in Windows, It wasn't english,
    so just make sure you are on English

    0 讨论(0)
  • 2020-12-20 12:06

    My problem solved. just try :

    LEFT Alt + Enter

    LEFT Alt+Enter

    Looks like some languages override Right Alt behavior, at least in case of Lithuanian Left Alt is working fine with Lithuanian enabled, Right does not, when switch to English, everything is fine again. Was pulling hair to figure out why out of nowhere it stops working, thanks

    0 讨论(0)
  • 2020-12-20 12:07

    In my case hint is showing Alt + Shift + Enter, but Ctrl+Shift+Enter works for some reason oO

    0 讨论(0)
  • 2020-12-20 12:11

    "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 "

    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

    many thanks to CrazyCoder

    0 讨论(0)
提交回复
热议问题