Save actions

Use the Save Actions preference panel to configure actions performed by the C/C++ editor while saving a file.

Save Actions Preferences

Save Actions Preference Options
Option Description
Remove trailing whitespace While saving a file, C/C++ editor will remove spaces and tab characters from the end of edited or all lines.
Ensure newline at the end of file While saving a file, C/C++ editor will insert a newline at the end of the last line, if the last line does not have it already.

Related concepts
Coding aids

Related tasks
Customizing the C/C++ editor

Related reference
C/C++ editor preferences


IBM Copyright Statement