Code Assist Preferences
The Code Assist feature enables the selection and insertion of existing code elements to complete partially entered code.
The Code Assist preferences page allows you to configure your Code Assist preferences.
The Code Assist Preferences page is accessed from Window | Preferences | PHP | Editor | Code Assist.
Mark the required checkboxes to configure the following options:
Options
Completion Inserts / Completion Overwrites: Select whether to insert new code or overwrite existing code.
Insert single proposals automatically: When only one code assist suggestion exists, the code assist suggestion will be inserted automatically.
Show variables from other files: Shows variables which are in other files in the project.
Determine object type from other files: Shows objects from other files in the project.
Filters
Show constants assist: Displays constants in Code Assist.
Case sensitive for constants: Constants will be case sensitive.
Show class name in Global Completion list: Enables the addition of class names to the code assist list.
Show non-strict options : Will show options which go against PHP strict practice.
Group completion options: Groups options according to element type.
Auto-activation
Enable auto activation: Enable code assist to be automatically activated.
Auto activation delay: Determines the delay before the Code Assist box is automatically displayed.
Auto-activation triggers for PHP: Sets the characters that determine PHP context.
Auto-activation triggers for PHPDoc: Sets the characters that determine PHP context.
Note:
A maximum of 4 characters can be entered.
Click Apply to apply your settings.
|
|
|
Related Links: |
|
|