Formatting

The following features provide consistent formatting to help developers manipulate and maintain code.

  • Virtual space — Enables placing the caret beyond the end of a line for better code alignment. This feature can be turned off in the Design menu > Options menu > Script tab page.

  • Custom collapsible code blocks — Uses specific markers #region and #endregion in your code to manually create a collapsible and expandable code section. Lines between these markers can be folded as a block. These markers are automatically ignored during compilation and do not affect the program's execution. Currently the markers can only be #region and #endregion (cannot be any other names).

  • Format document/selection — Quickly format an entire file or only the selected code block to maintain consistent indentation and style.