Typing Preferences
The Typing preferences page allows you to configure which 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.
Automatically Close
PDT can be set to automatically complete the following types of patterns:
"Strings" - A pair of double quotes ("") will be inserted when a single quotation markl (") is entered.
(Parentheses) and [Square] brackets - A pair of brackets will be inserted when the opening bracket is entered.
{Braces} - A pair of braces will be inserted when the opening brace is entered.
PhpDoc and comment regions - Automatically completes PHPDoc symbols for phpDoc Block comments.
- Add Phpdoc tags - Adds Phpdoc tags
Close PHP tag - A closing PHP tag (?>) will be inserted when the opening PHP tag (<?) is entered.
Mark the checkboxes of the patterns you would like PDT to auto-complete.
To use the auto-complete function type the opening character in the editor. The matching character will be automatically inserted.
Tabulators
Mark the checkbox to be able to indent the selected line in the editor using the Tab Key.
For more on indentation preferences, see the Formatter Preferences page.
Click Apply to apply your settings.
|
|
|
Related Links: |
|
|