Setting Code Completion Preferences

Code Completion preferences are accessed from the Preferences menu (Tools | Preferences).

 

The following table lists and describes the properties contained in the Code Completion tab. Enable or disable any of the features, to customize Code Completion to your needs.

In the Editing Window, Code Completion underlines any error made in the code and marks the entire line. To view a description of the error, place the cursor on the error marking and a tool tip appears.

 

The following Preferences can be set:

Property

Description

PHP Code Completion

 

Automatically Show Code Completion List

Turns on the automatic pop-up of the PHP Code Completion window (affects only the starting function listing, pop-up will occur for parameters if the function is identified).

You can condition the display by checking the following variables:

Only if there are less than (# of ) options - Conditions the display of the list by maximum number of options. A list containing more than the value entered, will not open automatically yet you can always display the list by pressing Ctrl-space. Popup after (# of) ms - Time value that affects the amount of time (in ms) between the entry of triggering text and the pop-up of the Code Completion window.

Class Names - Auto pop-up of the Class Name Completion list of the available Classes. The Class Names Code Completion window appears after the new, extends or implements is entered in a PHP section of code. 

Variables - Turns on/off the Variable Names Code Completion. If disabled the Variable Names Code Completion window will not appear after the $ character is entered in a PHP section of code. Functions, Keywords and Constants - This list includes member functions and variables, keywords and constants of the Classes declared in the active file. This completion lists member names and function syntax.

Show Variables from other files

Checked - Variable Names Code Completion shows variables being used in all open and project files. Unchecked - Variable Names Code Completion shows only the variables being used in the active file.

Determine Object Type from Other Files

Recognize Object types not only from the current file.

Disable Constants Completion

Enable/Disable Constant Code Completion.

Case Sensitive Completion for Constants

Enable/Disable case sensitive code completion. When disabled code completion will not differentiate between uppercase and lowercase items.

Show Class Names in Global Completion List

Enable/Disable the addition of class names to the code completion list. When enabled class names will be included in the code completion list.

Auto Popup Function Arguments

Turns on the automatic pop-up of the PHP Functions Arguments window.

Show Function Prototype in Arguments Completion

Shows full function prototype in Function Argument Window

Remove PHP Trailing Characters

Removes the characters to the right of the code completion insertion point.

Display Description Tooltip after

Enable/Disable the Code Completion Description Windows and the amount of time (in ms) between the display of the Code Completion Window and the Description Window.

HTML Code Completion

 

Automatically show Code Completion List

Turns on or off the automatic pop-up of the HTML Code Completion window. You can condition the display by checking the the following variables:

Only if there are less than (# of) options - Conditions the display of the list by maximum number of options. A list containing more than the value entered, will not open automatically yet you can always display the list by pressing Ctrl-space.
Popup after (# of) ms
- Time value that affects the amount of time (in ms) between the entry of triggering text and the pop-up of the Code Completion window. 

Tags - Auto pop-up of the HTML Code Completion List of HTML tags. For Attributes - Auto pop-up of the HTML Code Completion List of attributes for the tag. 

Attribute Values - Auto pop-up of the HTML Code Completion List of attributes' values for the tag.

Remove HTML Trailing Characters

Removes the characters to the right of the code completion insertion point.

Always Complete HTML tags as Uppercase

Affects the inserted HTML code. When enabled, inserted HTML tags will be all uppercase characters.

Use XHTML Tag Style

Inserts typical XHTML tags.

 

 

Related Links

Related Links:

Preferences
Setting Desktop Preferences

Setting Editing Preferences

Setting Debug Preferences

Colors and Fonts

Configuring the KeyMap

Setting File Type Preferences

Setting Template Preferences

Setting Source Control Preferences

Setting Global SQL Settings

Setting Dialog Preferences

Proxy Settings