Generating a config file for the Formatter Application

Generating a config file for the Formatter Application involves modifying the code formatter settings for a Java Project and copying org.eclipse.jdt.core.prefs out of the .settings directory for that project.

  1. Select a java project, open the pop-up menu and choose Properties.
  2. Select the Code Style > Formatter page and check Enable project specific sttings.
  3. Select or edit a profile as explained above.
  4. Click OK when you are done.
  5. Use either a file manager or the command line to copy workspace/YourJavaProject/.settings/org.eclipse.jdt.core.prefs to a new location.

Related reference

Code Formatter