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" - Automatically inserts a pair of double quotes.
(Parentheses) and [Square] brackets - Automatically inserts a pair of brackets.
{Braces} - Automatically inserts a pair of curly brackets
PhpDoc and comment regions - Automatically completes PHPDoc symbols for phpDoc Block comments
--> Add Phpdoc tags - Add Phpdoc tags
Mark the checkboxes of the patterns you would like PDT to auto-complete.
To use the auto-complete function, in the editor type the opening character and press enter. 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: |
|
|