Code Formatter

The Code Formatter automatically formats code by indenting it according to the code's internal syntax.

Using the Formatter

  1. Open or create an unformatted PHP file in the Editor and enter PHP code.

  1. Press Ctrl + Shift + F

 or

Right click and select Format  > Document.

The code will automatically be formatted according to the following formatting rules: