+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...
>
> --
> Best regards,
>  Sergei                            mailto:[EMAIL PROTECTED]
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


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

Reply via email to