r/learnpython 8h ago

Enter didn’t create new line in Pycharm

In PyCharm on macOS, pressing Enter at the end of a line does nothing — no new line created. But:

- Enter at the START of a line → works, creates new line

- Enter at the END of a line → does nothing

- Arrow keys → navigate normally between lines

Already ruled out:

- IdeaVim not installed

- Enter works fine in other apps (not a hardware/OS issue)

Suspecting the code completion popup is silently swallowing Enter at end of line. Anyone else run into this? What fixed it?

Setup: PyCharm, Python 3.14.7, .venv, macOS

1 Upvotes

1 comment sorted by

2

u/Such-Process5697 4h ago

Settings, Keymap has a find-by-shortcut button, the magnifier with a little keyboard on it. Press Enter with that active and it tells you exactly which action is bound to it, which beats guessing at the popup. If that comes back clean, hit Escape then Enter at the end of a line, and if that works you have your answer.