Formatter Properties

PDT can auto-format scripts to organize them into an easily readable format. The Formatter Properties page allows you to customize the way they are  formatted for the project.

 

To access the Formatter Properties page, right-click a PHP project in PHP Explorer view and select Properties | Resource -or- select the project and from the menu bar go to Project | Properties | Code Style | Formatter.

 

 

Instructions on how to complete a procedure

To configure Formatter Properties for the project:

  1. Mark the Enable project specific settings checkbox.

  2. Configure the settings according to your preferences.
    See Formatter Preferences for more information on the settings available.

  3. Click Apply.

 

Default Formatter Properties for all projects can be set in the Formatter Preferences page, (accessed by going to Window | Preferences | PHP | File Network -or- by clicking the Configure Workspace Settings link on the properties page.

 

 

link_icon.png

Related Links:

Formatter Preferences

Formatting Code

PHP Debug Properties

PHP Include Path Properties

PHP Interpreter Properties

PHP Task Tags Properties