code formatter problem [message #96730] |
Thu, 18 September 2003 04:03  |
Eclipse User |
|
|
|
Hi,
i have a small problem with the code formatter. Unter
Window->Preferences->Java->Code Formatter it
is possible to change the way the code is formatted. However it is not
possible to tell eclipse to
insert a space between the method name / class name and the following
opening bracket :
e.g :
StringBuffer sb = new StringBuffer();
sb.toString();
however i want the code to look like :
StringBuffer sb = new StringBuffer ();
sb.toString (); ^
^ a space character
a space character
did i miss something, or is it not possible to tell eclipse to insert a
space character ?
thanks in advance,
Andreas
|
|
|
|
|
Re: code formatter problem [message #96776 is a reply to message #96761] |
Thu, 18 September 2003 07:40  |
Eclipse User |
|
|
|
Originally posted by: olivier_thomann.ca.ibm.comNOSPAM
Le Thu, 18 Sep 2003 11:22:28 +0200, "Stefan Wagner"
<wagner.stefan@berlin.de> a écrit :
>I prefer this Layout too.
>It is the standard for Textlayout in Bookprinting to have blanks OUT of the
>braces, and no blank inside,
>e.g.
>aaa.doIt (a, b, c);
>aaa.doIt (a, b);
>aaa.doIt ();
This will be possible with the new formatter.
--
Olivier
|
|
|
Powered by
FUDForum. Page generated in 0.05941 seconds