Menu

#40 Block comments always formatting

closed
None
1
2002-07-28
2002-05-09
No

I am running Jalopy-JBuilder addin (ver 0.6.3).
Within Jalopy Options, under the Comments panel I do
NOT have any of the checkboxes checked.

Running Jalopy a comment like:

/* This is from the struts documentation:
Perform the appropriate validations and find
no problems -- Return either
null or a zero-length ActionErrors instance,
and the controller servlet

*/

gets reformatted to (it should not have been touched):

/* This is from the struts documentation:
Perform the appropriate validations and
find no problems -- Return either
null or a zero-length ActionErrors
instance, and the controller servlet
*/

If I change the Jalopy options to now "Format Multi
Line Comments" I get this:

/* This is from the struts documentation:
Perform the appropriate validations and find no
problems -- Return either
null or a zero-length ActionErrors instance,
and the controller servlet
*/

Addtional info that might be helpful in debugging:
I have "Wrap Lines" also checked off and line length
is "79".
Indentation: General indent=2, Leading indent=0,
Continuation indent=4, Endline comment indent=1, Tab
indent=2, Indent first column comments=true

Also attached is the actual Java file it is being run
on.

Discussion

  • Tony Falabella

    Tony Falabella - 2002-05-09

    Contains 1 java class to run against

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-05-11
    • assigned_to: nobody --> marcohu
     
  • Marco Hunsicker

    Marco Hunsicker - 2002-05-11

    Logged In: YES
    user_id=44430

    Yep, I have to change the wrapping logic. Not a big deal.
    Will appear with the next beta.

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-05-19
    • status: open --> closed
     
  • Marco Hunsicker

    Marco Hunsicker - 2002-05-19

    Logged In: YES
    user_id=44430

    1.0b6 is out! It should now work with "Format multi line"
    comments disabled...

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-07-28
    • priority: 5 --> 1
     

Log in to post a comment.