PyCharm: How to skip over closing braces / brackets / parentheses?
Press Ctrl-Shift-Enter to close the missing braces on the current line (if any), add the missing colon (if missing) and put the caret into the correctly indented position on the next line.
A college told me a solution:
First you type this:
def test_foo(
PyCharm inserts self)
as soon as you type (
Current state: ^
indicates the cursor position:
def test_foo(self^):
Just type ):
and hit ENTER
, and you are on the next line.
Since I type with ten fingers Ctrl-Shift-Enter
is not a solution for me in such common editing operations.