carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/reference/cdt_u_c_editor_save_actions.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Editor preferences</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Save actions</h1>
<p>Use the <b>Save Actions</b> preference panel to configure actions performed by C/C++ editor while saving
a file. Click <b>Window > Preferences > C/C++ > Editor > Save Actions</b> to make changes.</p>
<table width="600px" cellpadding="5" cellspacing="0" border="1" >
<caption><b>Editor Preference Options</b></caption>
<colgroup>
<col width="30%" valign="top" >
<col width="70%" valign="top" >
</colgroup>
<tbody>
<tr>
<td><b>Remove trailing whitespace</b></td>
<td>While saving a file, C/C++ editor will remove spaces and tab characters from the end of edited
or all lines.</td>
</tr>
<tr>
<td><b>Ensure newline at the end of file</b></td>
<td>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.</td>
</tr>
</tbody>
</table>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br>
<a href="../concepts/cdt_o_code_entry.htm">Coding aids</a></p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a></p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a></p>
<hr>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
</body>
</html>