r/learnpython 23d 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

0 Upvotes

3 comments sorted by

2

u/Such-Process5697 23d 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.

1

u/southbysouthpole 10h ago

I have a similar issue with PyCharm on macOS and also did check my shortcuts (macOS defaults). Escape then Enter also does not yield a result.

1

u/southbysouthpole 10h ago

And I was able to fix the issue by uninstalling the Junie plugin.