PhpStorm 2016.2 Help

Code Completion

File | Settings | Editor | General | Code Completion for Windows and Linux
PhpStorm | Preferences | Editor | General | Code Completion for OS X
Ctrl+Alt+S
settings


Use this page to configure the code completion, and parameter information settings.

ItemDescription
Code Completion
Case sensitive completionFrom this drop-down list, select the degree to which you want PhpStorm to take into consideration the case sensitivity when suggesting matches for code completion. The available options are:
  • All: The lookup list includes only those items that match the case of all typed letters. This option is most restrictive.
    web_ide_completion_settings_all.png
  • None: The lookup list includes all matches regardless of their case.
    web_ide_completion_settings_none
  • First letter: The lookup list includes only the items with the first letter matching.
    web_ide_completion_settings_first_letter
Auto-insert when only one choice on:When the check boxes in this section are selected, PhpStorm doesn't show a lookup list for the corresponding completion type in cases when only one variant of code completion is available, and completes code automatically.
Sort lookup items lexicographicallyIf this check box is selected, the entries in the suggestion list will be sorted according to their lexical order.
If this check box is not selected, the entries in the suggestion list will be sorted by relevance.

Note that the check box defines the default behavior. You can change it any time by clicking the a_icon or pi_icon icons in the suggestion list. Refer to the section Using Suggestion List for details.

Autopopup code completionSelect this check box, if you want suggestion list to appear after typing anything.
autopopup_after_any_text

If the check box is not selected, PhpStorm will not suggest code completion automatically.

Insert selected variant by typing dot, space, etc.If this check box is selected, code is completed by pressing certain character: comma, colon, semicolon, opening parentheses of the various kinds, equality sign, asterisk. This option is turned off by default.
Autopopup documentation (ms)
For explicitly invoked completion
Select this check box to have PhpStorm automatically show a pop-up window with the documentation for the class, method, or field currently highlighted in the lookup list.

In the text field to the right, specify the delay (in milliseconds), after which the pop-up window should appear.

If this check box is not selected, use Ctrl+Q to show quick documentation for the element at caret.

Quick documentation window will automatically pop up with the specified delay in those cases only, when code completion has been invoked explicitly. For the automatic code completion list, documentation window will only show up on pressing Ctrl+Q

Parameter Info
Autopopup in (ms)Select this check box to have PhpStorm automatically show a pop-up window with all available method signatures, when an opening bracket is typed in the editor, or a method is selected from the lookup list.

In the text field to the right, specify the delay (in milliseconds) after when the pop-up window should appear.

If this check box is not selected, use Ctrl+P to show the parameter info.

Show full signaturesIf this check box is selected, the parameter info displays full signatures, including the method name and returned type.

See Also

Reference:

Last modified: 2 September 2016