Using Code Assist

This procedure describes how to use Code Assist in order to quickly and easily insert code elements into your script:

Instructions on how to complete a procedure

To use Code Assist:

  1. Enter the first few characters of the required code element into the editor.

  2. The Code Assist window should be automatically displayed.
    If the Code Assist window does not pop up automatically, press Ctrl+Space.

  1. 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.

  2. 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 Code Assist window to open automatically, go to the Code Assist Preferences page, accessed from Window | Preferences | PHP | Editor | Code Assist and mark the 'Enable auto-activation' checkbox. This is marked by default.

 

 

Related Links

Related Links:

Code Assist

Working with Code Assist

Code Assist Preferences

Hover Support

Commenting PHP DocBlocks

Using Templates