The Save Actions features allows for selected actions to
occur automatically while a file is saved. The actions performed are
defined by the Save Actions preference.
You can specify save actions for the PL/I source files and include
files separately. If save actions is enabled, the actions performed
during a save are defined by
Formatter preference.
- For PL/I files, the save actions relate to indentation, capitalization,
and line length. You can select on the Save Actions preference
whether all formatting options or just the capitalization options
are automatically performed when saving. Additionally, the identify
unreachable code and remove white spaces from the end of a text line
can be performed.
- For a include files, the save actions include upper case of include
file code and comments. Additionally, remove white spaces from the
end of a text line can be performed.
When saving a file in the PL/I Editor, the following sequence occurs:
- Real-time syntax checking completed
- Formatting is applied to the file
- Trailing white spaces are removed
- File contents are saved
- Preprocessor statements are identified
- Unreachable code identified
A progress bar shows the status of the save process.
After the save action is complete, a single Undo command
can be used to remove all formatting and white space removal changes.