Setting proper whitespace settings

From Knowitall
Jump to: navigation, search

If you are using Eclipse, please set the indentation to 4 spaces. The Eclipse default is to use tabs.

To do this, go to "Preferences -> Java -> Code Style -> Formatter", create a new profile, push "Edit" and under the "Indentation" tab specify "Spaces only" and an "Indentation size" of 4.

Note that Ctrl+Shift+f reformats the open file.