PHP-Mode
Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5. Completion

Completion allows you to write PHP code by reducing errors in function names or variable names. It also suggests PHP function names.

To use completion, write the first letters and use TAB to complete the word until you find the perfect completion. For example, in a blank PHP buffer, type "mysql_" and complete the function name with TAB: all mysql_* functions are proposed.

Completion can occurs with the supported PHP functions, the PHP code written in the current buffer and the PHP code written in all other files that are opened in the current XEmacs window.

Completion is customizable.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.1 Customization

`php-intelligent-tab'

Type: bool
Default value: `t'
Description: If `t'; TAB does indentation; completion and insert tabulations. If `nil'; TAB does only indentation.

`php-word-completion-in-minibuffer'

Type: bool
Default value: `t'
Description: If `t'; enable completion in the minibuffer.

`php-word-completion-case-sensitive'

Type: bool
Default value: `nil'
Description: If `t'; completion is case sensitive.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]