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
- Select Window | Preferences
- Expand Java, then Code Style
- Click on Formatter
- Click on Edit... in the Active Profile section
- Change the profile name to something unique like "My Eclipse"
- Select Spaces only for the Tab policy.
- 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:
- Window | Preferences | General | Workspace
- Set Build automatically
- Set Save automatically before build