One way to reduce the wasted space is to reduce the indenting width. We are
using
here only two positions per indenting level and it looks great IMO.

Tal

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Vestal, Rick
> Sent: Wednesday, November 28, 2001 1:30 PM
> To: '[EMAIL PROTECTED]'
> Subject: [Eap-features] general question
>
>
> This isn't completely Idea related, but I think everybody on
> this list might have good ideas and maybe something for IDEA
> could come of it.
>
>
> When you write a java class in a text file, most people write
> it as (or really close to):
>
> class A {
>
>     public void methodA()
>     {
>         ...
>     }
> }
>
> It seems to me that there is a tab width at the beginning of
> each method line that is just totally wasted because you have to
> surround everything with the java class name.  Lines always
> get too long and those 4 character spaces do end up being
> 'important'.
>
>
> Is anybody else annoyed at this?  It doesn't 'feel' right
> to start *java* methods at col 0 (C++ worked very nicely
> because classes are defined in the header files), and most
> IDE's mess up formatting if I start the methods at col 0.
> For instance, IDEA will move all my methods to the col 4
> if I choose to format a source file of the form:
>
> class A {
>
> public void methodA()
> {
>     ....
> }
>
> } /* end class A */
>
> Having IDEA give the option of starting a method on col 0 would
> be ok, but I'd rather find a better solution.
>
> Does anybody have another way of formatting that reclaims
> all this wasted space?  I miss the look of C++ files.  sniff
>
> Being picky as usual,
>
> -- Rick
>
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-features


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

Reply via email to