This is just my opinion, but when I add single line comments (//) within my
code, I expect to see them line up with the code.  I don't think it would be
a big deal to make an exception for comments outside a method (since they
probably have a different purpose).

I'm not exactly sure if this is related, but a problem I have noticed, is
that when I format code that has mis-aligned brackets, the comments below
the error flush to the left.  When I fix the error, the code aligns
correctly again, but the comments stay to the left.  I usually have to fix
them manually.  This wouldn't be such a bad problem, if I hadn't become so
dependent on the reformat option (I have gotten into the bad habit of typing
my code hap-hazardly and letting Idea fix the errors).

----- Original Message -----
From: "Erb" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 9:27 AM
Subject: Re: [Eap-list] comment reformat


> I would say "//" comments should not be indented before a method, only
> /* or /**
> comments, but that is based on my comment style and others might disagree.
>
> Valentin Kipiatkov wrote:
>
> >>When I have a multiline comment where each line starts with "file://",
> >>and it is at the first column, and comes right before a method,
> >>the first line is indented, and the rest are left at column 1.
> >>
> >
> > Do you think it should indent all those comments or leave them at the
first
> > column? What would you prefer?
> >
> > Best regards,
> > Valentin Kipiatkov
> > -----------------------------------------------------------
> >  IntelliJ Software, http://www.intellij.com/
> >  "Develop with pleasure"
> > -----------------------------------------------------------
> >
> > ----- Original Message -----
> > From: "Erb" <[EMAIL PROTECTED]>
> > To: "EAP" <[EMAIL PROTECTED]>
> > Sent: Friday, November 30, 2001 10:33 PM
> > Subject: [Eap-list] comment reformat
> >
> >
> >
> >>(Sorry if this was already reported).
> >>in #524:
> >>
> >>I have "keep comments at first column" selected.
> >>
> >>When I have a multiline comment where each line starts with "file://",
> >>and it is at the first column, and comes right before a method,
> >>the first line is indented, and the rest are left at column 1.
> >>--
> >>
> >>Erb
> >>
> >>==============================================================
> >>"The only time I like in the morning is afternoon."
> >>     - Russell D. Cooper
> >>
> >>"If you do everything, then you're all done."
> >>     - Melissa F. Cooper
> >>
> >>"Most of you are familiar with the virtues of a programmer.
> >>There are three, of course: laziness, impatience, and hubris."
> >>     - Larry Wall
> >>==============================================================
> >>
> >>
> >>_______________________________________________
> >>Eap-list mailing list
> >>[EMAIL PROTECTED]
> >>http://www.intellij.com/mailman/listinfo/eap-list
> >>
> >
> >
> > _______________________________________________
> > Eap-list mailing list
> > [EMAIL PROTECTED]
> > http://www.intellij.com/mailman/listinfo/eap-list
> >
> >
>
>
> --
>
> Erb
>
> ==============================================================
> "The only time I like in the morning is afternoon."
>      - Russell D. Cooper
>
> "If you do everything, then you're all done."
>      - Melissa F. Cooper
>
> "Most of you are familiar with the virtues of a programmer.
> There are three, of course: laziness, impatience, and hubris."
>      - Larry Wall
> ==============================================================
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to