classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eclipse command line formatter


From: Per Bothner
Subject: Re: Eclipse command line formatter
Date: Tue, 11 Jan 2005 14:06:14 -0800
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803

Tom Tromey wrote:


What we really need to do is make sure we can really handle Classpath
style.  With Eclipse 3.0 I think we fail to re-indent inside a block,
so we end up with:

  if (foo)
    {
    code here;
    }

Instead of:

  if (foo)
    {
      code here;
    }

I think this is fixed.

However, note that Eclipse up to 3.1M4 does not handle the GNU/Unix
conventions for tabs: Using 8-column tabs, but indenting by a different
amount.  3.1M4 is actually a regression in this respect.

I reported a bug/enhancement request, and in the last few days Tom Eicher posted some patches:
htts://bugs.eclipse.org/bugs/show_bug.cgi?id=73104
Hopefully we'll have something usable soon.

I also suggest we submit a standard "GNU" coding style, and ask them
to include it as a standard formatting style.
--
        --Per Bothner
address@hidden   http://per.bothner.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]