Child pages
  • Code Formatting

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Servoy provides options for code formatting. They are described in further detail in this chapter.

Stoc

Formatting Code

...

on Save

A project's code can be automatically formatted (line breaks, indentations, etc) on save. To do this, the project-specific settings must be activated:

...

Info

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.

Force Formatting

...

the Code Base

...

of Entire Projects

Several projects can be formatted at once using the following steps:

...