title: Eclipse Save Actions in Source Control
body: <p>We'd like to find a "lightweight" method of enforcing code standards prior to check-in. We really like the idea of using Eclipse's built-in <em>Save Actions</em> (go to <code>Preferences &gt;&gt; Java &gt;&gt; Editor &gt;&gt; Save Actions</code>) which has a <code>Format source code</code> function that can run every time the developer saves a file.</p>
  
  <p>This way, so long as each developer using the same format rules, and has <em>Save Actions</em> enabled, we can be fairly comfortable that by the time code makes it to review, that our code standards have been enforced (for the most part).</p>
  
  <p>What I'm trying to figure out is: <strong>what file(s) does Eclipse use to save these format rules to? How could I keep such a file in source control, and have developers check it out?</strong></p>
  
  <ul>
  <li>Where is it located (within the workspace)?</li>
  </ul>