# 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:

1. Enter the first few characters of the required code element into the editor. The Content Assist window should be automatically displayed.
2. If the Content Assist window does not pop up automatically, press Ctrl+Space.
3. 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.
4. 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.

#### Related Links:

- Content Assist
- Working with Content Assist
- Content Assist Preferences
- Hover Support
- Commenting PHP DocBlocks
- Using Templates