Re: inhibiting comment reflow



On 2005-07-27, Roedy Green penned:
> Eclipse comment reformatter is great for free form text, but it
> screws up anything that is designed to align in columns. I gave
> discovered
><pre> </pre> will disable to reflow in Javadoc, but not in // or /*
>comments. Has anyone discovered something similar for // or /*?

I didn't realize Eclipse will reformat comments -- have to check that
out.

While googling about that, I came across

http://www.mindview.net/WebLog/log-0047

which says

"Eclipse has a builtin that does pretty well here, but it doesn't do
everything. In particular, and I need to be able to make sure
everything fits within a strict column limitation so I need comment
reformatting.

Jalopy seems to be the front runner, and the latest version even does
comment reformatting. Although it is a commercial product, it is a
very reasonable $40. They have a plugin for Eclipse as well as an Ant
version and a command-line version. "

I was thinking $40 sounded awfully steep for just comment formatting,
but it turns out Jalopy is a general source formatter.


--
monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
.



Relevant Pages

  • Re: Eclipse: reordering .java source file
    ... What kind of tweak is required in jalopy plugin.xml for Eclipse 3.0M9 or better? ... > You could use a decent source code formatter. ... > JRefactory can be integrated as a ...
    (comp.lang.java.softwaretools)
  • Re: Eclipse: reordering .java source file
    ... > What kind of tweak is required in jalopy plugin.xml for Eclipse 3.0M9 ... > I tried changing the imports section. ...
    (comp.lang.java.softwaretools)
  • Re: how to configure jalopy in eclipse
    ... I'm new to Eclipse. ... Besides copying the Jalopy ... files into the plugins directory what else do I need to do. ...
    (comp.lang.java.programmer)