Servoy provides options for code formatting. They are described in further detail in this chapter.
In This Chapter
A project's code can be automatically formatted (line breaks, indentations, etc) on save. To do this, the project-specific settings must be activated:
Different format profiles can be set for different projects. The information is saved to the SVN in team development environments, allowing all developers working on a project to use the same format profile.
To set a project-specific format profile:
Note: If you select New, you will be prompted to type in a Profile name with the option to open the Edit Profile dialog. This dialog provides customizable options for general settings, Indents, Braces, White Space, and Control Statements. See image below.
Several projects can be formatted at once using the following steps: