Formatting - Settings for PHPIn this window you can set formatting options for PHP scripts The PHP settings window can be called from the Formatting Source Code window, or from the program settings window. Block settingsChoose how the code is formatted: Opening brackets in a new lineSelect this option if you want the curly brackets marking the beginning of the function body to always be placed on a new line, as in the example below: function function_name() { // function contents }Opening brackets at the end of the line Select this option if you want the curly brackets marking the beginning of the function body to be placed at the end of the line where the function name is, as in the example below: function function_name() { // function contents } Single indent size Use tabs instead of spaces Do not indent blank lines Line spacingIn this section you can define whether to add extra blank lines between individual functions and classes. This increases the readability of the code. Blank lines between functions Blank lines between classes Move instructions after semicolon to a new line Closing a block on a separate line |
Related topics |