After you've typed the meaningful part of a declaration or a statement, you can press &shortcut:EditorCompleteStatement; to automatically insert necessary syntax elements (closing parentheses, braces, semicolons etc.) and get in the position where you can go on typing.
For example, if you've typed
, you can press
&shortcut:EditorCompleteStatement; to get