Set these options for PHP code completion in the Options > Editor > Code Completion tab, when PHP language is selected. These options apply globally to PHP, and only to PHP.
Enable Auto Popup Completion Window. Enables the editor to display a code completion box with options for how to complete an expression. Decide the circumstances under which the completion window opens from the following options:
All Possible Situations. The auto popup completion window opens whenever it can be of use.
Customize. Select the Customize option and then tick the boxes for the circumstances under which the auto popup completion window opens. If you select Customize and do not select any of the circumstances under Customize, the auto popup completion window will never open.
Code Completion for Class Methods. Select the class methods that prompt a code completion window.
Also Static Methods after "->". Selected by default.
Also Non-static Methods after "::". Disabled by default.
Use Smart Parameters Pre-Filling. Code completion suggests valid variables (of desired type), so you don't have to rewrite method calls every time you use code completion. Enabled by default. See
.
Code Completion for Variables. Select to have code completion for all variables (default) or only variables in the local file.
Type of Code Completion (PHP 5.3 only). Select which type of code completion to use when referring to classes:
Smart. Uses partially qualified names according to namespace declarations. Default.
Fully Qualified. Always use fully qualified names regardless of namespace declarations.