To improve the appearance and readability of your source
code, you can set format specifications. When you set format specifications,
you can enter your code without concern about the format and then
use the Format action in the editor to format
the code according to the specifications.
Define format specifications on the Formatter preference
page. For instructions, see the related topics.
- To format an entire source file, right-click in the editor
and click .
- To format a selected block of code:
- Select the lines of code that you want to format.
Note: If you press Ctrl+A to select all lines, formatting
occurs without warning. If you are editing a large file, the format
operation can take a few minutes.
- Right-click in the editor and click .