Home » Language IDEs » Java Development Tools (JDT) » newbie question - formating of Java files
|
Re: newbie question - formating of Java files [message #4838 is a reply to message #3825] |
Thu, 24 April 2003 20:32 |
Eclipse User |
|
|
|
Originally posted by: greg.ferguson.americawest.com
lubos vrba wrote:
> Hi *,
> I need to format declarations of method in style:
> void aMethod(int a, int b,
> int c, int d) {
> }
> but eclips formats it as follows:
> void aMethod(
> int a,
> int b,
> int c,
> int d) {
> }
> Do you know, how one can change this behaviour?
> Thanks in advance.
> L.
Go to sourceforge.net and search for jalopy. It's a nice tool that can be
configured to reformat code in multiple ways.
|
|
| |
Re: newbie question - formating of Java files [message #6400 is a reply to message #3825] |
Sat, 26 April 2003 05:09 |
Kevin Duffey Messages: 304 Registered: July 2009 |
Senior Member |
|
|
It sounds to me we need some sort of formatting template, where by you can
specify how a statc { } initializer, a method signature, and so forth is
defined. By saving these templates, users can set up their own, possibly for
different types of files. .java is most common, but it would be nice if
things like this could be done with .jsp, .html, .xml, .c etc.
"lubos vrba" <lubos.vrba@seznam.cz> wrote in message
news:b88l2l$sv0$1@rogue.oti.com...
> Hi *,
> I need to format declarations of method in style:
>
> void aMethod(int a, int b,
> int c, int d) {
> }
>
> but eclips formats it as follows:
> void aMethod(
> int a,
> int b,
> int c,
> int d) {
> }
>
> Do you know, how one can change this behaviour?
> Thanks in advance.
> L.
>
>
|
|
|
Re: newbie question - formating of Java files [message #7362 is a reply to message #6400] |
Mon, 28 April 2003 14:16 |
Philippe Mulet Messages: 229 Registered: July 2009 |
Senior Member |
|
|
This is on our plate for some 3.0 release... we want to be able to support
various alignment favors...
"Kevin" <supreme_java_guru_1@yahoo.com> wrote in message
news:b8d4er$71r$1@rogue.oti.com...
> It sounds to me we need some sort of formatting template, where by you can
> specify how a statc { } initializer, a method signature, and so forth is
> defined. By saving these templates, users can set up their own, possibly
for
> different types of files. .java is most common, but it would be nice if
> things like this could be done with .jsp, .html, .xml, .c etc.
>
> "lubos vrba" <lubos.vrba@seznam.cz> wrote in message
> news:b88l2l$sv0$1@rogue.oti.com...
> > Hi *,
> > I need to format declarations of method in style:
> >
> > void aMethod(int a, int b,
> > int c, int d) {
> > }
> >
> > but eclips formats it as follows:
> > void aMethod(
> > int a,
> > int b,
> > int c,
> > int d) {
> > }
> >
> > Do you know, how one can change this behaviour?
> > Thanks in advance.
> > L.
> >
> >
>
>
|
|
|
Goto Forum:
Current Time: Fri Oct 04 03:50:26 GMT 2024
Powered by FUDForum. Page generated in 0.03710 seconds
|