Typing Preferences

The Typing preferences page allows you to configure the code and language patterns that PDT will automatically complete, and whether the tab key will indent the current line.

The Typing Preferences page is accessed from Window | Preferences | PHP | Editor | Typing .

typing.png

Automatically Close

PDT can be set to automatically complete the following types of patterns:

To configure your 'automatic close' options:

  1. Mark the checkboxes of the patterns you would like PDT to auto-complete.
  2. Click Apply to apply your settings.

To use the auto-complete function, type the opening character in the editor. The matching character will be automatically inserted.

Tabulators

To be able to indent a selected line in the editor using the Tab Key:

  1. Mark the 'tab key indents the current line' checkbox.
  2. Click Apply to apply your settings.

For more on indentation preferences, see the Formatter Preferences page.