Pycharm Enter Key is not working

21,813

Solution 1

Found the reason causing that. Just like to post a possible solution if anyone else is facing similar problems. It appears that my 'use block caret' box was checked.

Go to file -> Editor -> General -> Appearance -> 'Use block caret' and uncheck it if it's checked.

Otherwise, it might be the issue with the keymapping. Go to File -> Settings -> Keymap, search for enter and make sure that it is mapped to enter. OR, just reset the keymap by clicking the reset button on the same page.

Solution 2

I had the same issue. I figured that I had pressed the "insert" key in the keyboard by mistake. When I pressed insert again, it went back to normal. Hope this could be an easy debugging effort before going deeper as suggested above. Cheers

Solution 3

Check if Ideavim OR Vimware is running on the bottom right corner of your Pycharm window. Disable it you will be able to add a new line

Solution 4

"Insert" button. I had the same issue with Pycharm Enter Key that didn't worked. Insert key on keyboard will solved that, just press "Insert" button on your keyboard.

Share:
21,813

Related videos on Youtube

Amoroso
Author by

Amoroso

Updated on July 05, 2022

Comments

  • Amoroso
    Amoroso 11 months

    I am facing a very weird problem...

    My enter key is not causing a line break in pycharm. When I press enter at the end of a line, the cursor jumps to the front of the next line, without causing a line break.

    This suddenly happened, I have no idea why.

    I checked my keymap and have reset it, with enter key mapping to enter but this problem still persists.

    Does anyone have any solution?

  • Marcin Raczyński
    Marcin Raczyński over 4 years
    I had similar problem but in python comment only - Enter works only at the end of line in comments. This answer does not help on my issue. I have no solution yet.
  • mikey
    mikey almost 3 years
    Thank you! If only there was a way to forever diable the insert key
  • Akshay Khanna
    Akshay Khanna over 2 years
    In mac there is not insert buttoon

Related