PhpStorm 2016.3 Help

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:

  • Start typing a statement, and press Ctrl+Shift+Enter.

    The punctuation required in the current context is added and the caret moves to the next editing position.

Examples

Completing code constructs

Start typing a code construct:

web_ide_completing_code_construct_1.png

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

web_ide_completing_code_construct_2.png

See Also

Reference:

Last modified: 1 December 2016