Auto

Lets you control the auto-format settings.

Figure 2.18. Auto format settings page

Auto format settings page
On save

When enabled, formatting is performed whenever a dirty file is saved. This feature is only available with the Eclipse, IDEA 4.0 or later, JBuilder, JDeveloper, jEdit and NetBeans 4.0 or later Plug-ins.

Since 1.0.3

On commit

When enabled, files are formatted prior to be committed back to the source code management system (SCM).

This feature is only available with IDEA 5.1 or later.

Since 1.8

With project

When enabled, Jalopy tries to activate the profile with either the same name as or aliased by the current IDE project before a file gets formatted. If no corresponding profile exists for the current IDE project, formatting uses the settings of the active Jalopy profile.

Please note that for this feature to work efficiently, all profiles should have their auto-switch option enabled!

Since 1.0.2

With external code convention

When you're working with a group of developers, it can be very useful to share specific code conventions with your team. When this option is enabled, Jalopy checks upon every invocation whether any changes to the shared code convention(s) were applied and if so, updates the local profile accordingly before the sources are formatted. This way all members of the team always use the same coding style without any further user intervention required.

Please note that the check box is only available after a code convention has been imported.

Since 1.0