PhpStorm 9.0.0 Help

Smart Type Code Completion. Completing Code Based on Type InformationCompleting Path

Completing Statements

The Smart Enter completion enables you to create syntactically correct code constructs.

In this section:

Completing statements

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.


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

Last modified: 25 July 2015