How to prevent Pycharm console suggestion using 'enter' key?
When typing on Pycharm python console, it suggests a few options/code completion. The problem is when typing ‘Enter’ key, it insert the suggestion instead of executing the code. Every time I have to press the ‘ESC’ key before ‘Enter’ key to execute the code, which is annoying.
For example, when pressing ‘Enter’ key after the df
, I expect the python console to execute the code and display the df. But instead it replace df
with the suggested udf

Please sign in to leave a comment.
I would like to know how to change that too.
I’d rather use TAB to accept a completion
I agree. This started with a recent update for me and it is infuriating. Can't find out how to turn it off.
Hi Anthony , Mhtessmer , you can remove
Enter
or change it accordingly underChoose Looup Item
action:Yes, sooo annoying. Does _anyone_ want code completion (why oh why) in the debug terminal.
The solution offered damages normal - editor - code completion, just to avoid (partially) this annoying impostion.
The _real_ solution is to separate out (inane) code completion in the debug console, and have that able to be turned off (and the console still work). Note that toggleing the 'Show Debug Terminal" python-logo button on the LHS of the debug console stops the console from being able to accept input.
Mikhail Tarabrikov how do you set shortcuts on a mac btw?
I just got one, when I try to press SHIFT + Command + Tab it does not set the shortcut.
Anthony, could
⌘
+Tab
be intercepted by MacOS? Is it configured in System Settings -> Keyboard -> Keyboard Shortcuts -> Keyboard by any chance?