-->

Is the Open Source Jalopy Eclipse plugin compatibl

2019-05-13 22:04发布

问题:

After much searching, I found the download for the eclipse version of jalopy. Is this compatible with Eclipse 3.4? It's dated 2006.

I've copied the extracted folder to my plugins directory and run eclipse -clean, but I can't find anything matching 'jalopy' in preferences.

If it's not compatible, are there any (free) alternatives?

回答1:

Just an update:

Note: the latest eclipse3.5 Galileo code formatter now:

  • supports most of Jalopy formatting option.
  • has made quite a few improvement on formatters (look for the term 'formatter' in those building notes of jdt-core.

It also can be run from the command-line if needed.

For a specific formatting option which would not be correctly managed by eclipse, you can define a codeFormatter extension point. More practical details in this SO question.



回答2:

i'm told that open source version of jalopy is not for commercial use.

eclipse itself has good source code formatting capabilities. Go to java | preferences/settings. type format and you should see the various options.



回答3:

The answer is 'yes'. Preferences are in Window > Jalopy Preferences, and it's run from the right click context menu. Seems a little buggy, though.