You can use &shortcut:EditorCompleteStatement; to complete such statements as if, do-while, try-catch and return.
Before:
After &shortcut:EditorCompleteStatement;: