In Eclipse Mars, We have formatter location at "Window/Preferences/Java/Code Style/Formatter". What is the location in eclipse neon ?
If you are using macOS then the Preferences menu is in the 'Eclipse' top level menu (the left most application menu) rather than the 'Window' menu. Other than the placement of the top level menu the preferences are unchanged from Linux / Windows.
This is to conform with the standard macOS placement of the Preferences menu.