Using Content Assist
This procedure describes how to use Content Assist in order to quickly and easily insert code elements into your script:
To use Content Assist:
- Enter the first few characters of the required code element into the editor. The Content Assist window should be automatically displayed.
- If the Content Assist window does not pop up automatically, press Ctrl+Space.
- Use the arrow keys to scroll through the code completion options. The window on the right will display descriptions and hints for using the selected code element.
- Select the required option by double-clicking it or selecting it and pressing Enter.
The selected code will be inserted into your script.
To enable the Content Assist window to open automatically, go to the Content Assist Preferences page, accessed from Window | Preferences | PHP | Editor | Content Assist and mark the "Enable auto-activation'' checkbox. This is marked by default.