Eclipse Notes

Note the following directions are organized by language.

By default, Eclipse is configured to put tabs in source files. This creates problems when viewing your source in other editors or on Bitbucket. Fix this by starting Eclipse and

  1. Select Window | Preferences
  2. Expand Java, then Code Style
  3. Click on Formatter
  4. Click on Edit... in the Active Profile section
  5. Change the profile name to something unique like "My Eclipse"
  6. Select Spaces only for the Tab policy.
  7. Click OK until you are back at the main window.
You can then select Format from the Source menu to reformat the file and get rid of those evil tab characters.

Additional options to set

Ensure files are saved before rebuilding: