The Smart Enter completion enables you to create syntactically correct code constructs.
The punctuation required in the current context is added and the caret moves to the next editing position.
Reference:
Web Resources: