You can create code constructs using statement completion. Start typing a method declaration, a method call or a statement such as if, do-while, try-catch, return. Press &shortcut:EditorCompleteStatement; to complete the statement into a syntactically correct construct.