Integration

Describes how the Plug-in is integrated into the Eclipse IDE.

Main menu bar

Currently, the software adds a new item into the main menu bar of Eclipse to launch the Jalopy settings dialog. Note that the configuration dialog is actually a Java Swing dialog launched in-process so the appearance and behavior may slightly differ compared to native applications. A future version will bring tight integration with the Eclipse workbench preferences dialog.

  • Window->Jalopy Preferences

    Displays the Jalopy preferences dialog. Use this item if you want to change the settings that control the layout of formatted code.

Figure 6.1. Jalopy Preferences menu item

Jalopy Preferences menu item

The menu item appears only for certain views/editors. If you want to enable it permanently, mark Window->Customize Perspective...->Action Sets->Jalopy

For an explanation of the available options to configure formatting output, please refer to Chapter 2, Configuration.

Please note that the menu item currently does not work under Mac OS X. With this operating system, a dialog is displayed to inform you about this restriction.

Figure 6.2. Preferences Action not available on Mac OS X

Preferences Action not available on Mac OS X

In order to be able to manually switch between profiles and import/export your settings on the Mac, the Jalopy profiles settings are available from within the Eclipse preferences dialog as well. Open the preferences dialog via Window->Preferences and select the Jalopy/Profiles item.

Figure 6.3. Jalopy SWT Preferences

Jalopy SWT Preferences