Is the Open Source Jalopy Eclipse plugin compatibl

2019-05-13 22:12发布

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?

3条回答
别忘想泡老子
2楼-- · 2019-05-13 22:21

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.

查看更多
Bombasti
3楼-- · 2019-05-13 22:25

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.

查看更多
爷、活的狠高调
4楼-- · 2019-05-13 22:31

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.

查看更多
登录 后发表回答