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 Project Explorer view and select Properties | Resource -or- select the project and from the menu bar go to Project | Properties | Code Style | Formatter.

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.