I know there is JIndent, but I would jump in my chair if it was added to IDEA.
So, I MUST add another
+10,
because I spend hours every month aligning code to my own standard :
(I even align the final semi-colon )
this.date = date ;
this.firstIndex = firstIndex ;
this.hasCurrentEvents = hasCurrentEvents ;
this.lastIndex = lastIndex ;
Alain Ravet
--------------
Oliver Pfeiffer wrote
+10
Tal Dayan wrote
> +10
>
> When we reformat the code, IDEA condenses the spaces in the
> statements and a beautiful piece of code like:
>
> this.date = date;
> this.firstIndex = firstIndex;
> this.hasCurrentEvents = hasCurrentEvents;
> this.lastIndex = lastIndex;
>
> now looks like:
>
> this.date = date;
> this.firstIndex = firstIndex;
> this.hasCurrentEvents = hasCurrentEvents;
> this.lastIndex = lastIndex;
>
> This makes the code formatting not very useful for.
>
> I suggest to have few options to control the alignment since
> people are using different allignment styles.
>
> Tal
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Sergei Rodionov (XXI)
> > Sent: Friday, October 26, 2001 8:23 AM
> > To: Onno van den Akker
> > Subject: [Eap-list] Code aligning/formatting
> >
> >
> > I know its utterly hopeless, but still :)
> >
> > Is there any way to add in IDEA ability to align
> > assignments/declarations?
> >
> > I.e. next piece of code:
> >
> > int fooInt = a;
> > Image fooImage = new Image();
> > BloodyLongNamedClass myBloodyLongNamedClassInstance =
> > BloodyLongNamedClass.getInstance();
> >
> > to be formatted as:
> >
> > int fooInt = a;
> > Image fooImage = new Image();
> > BloodyLongNamedClass myBloodyLongNamedClassInstance =
> > BloodyLongNamedClass.getInstance();
> >
> >
> > I know it looks quite weird at the beginning but we been using such
> > way of putting things on top of other things for quite a
> while and it
> > makes code far more readable...
This mail has been checked by exiscan.
To be safe, please scan the mail attachements with your local virus scanner !
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features