Completing Statements
On this page:
Completing statements
The Smart Enter completion enables you to create syntactically correct code constructs.
To automatically complete a statement, follow these steps:
Examples
Completing a method declaration
Start typing a method declaration, and press Ctrl+Shift+Enter after the opening parenthesis:

This will create the entire construct of a method, the caret resting inside the method body:

Completing code constructs
Start typing a code construct:

After pressing Ctrl+Shift+Enter, the construct is completed, and the caret is placed at the next editing position:

See Also
Reference:
Last modified: 23 December 2016