Yep. That's what I do. Works like a charm. I get exactly what Robert's looking for.

Dave

On Feb 3, 2009, at 10:54 AM, Mike Schrag wrote:

Prefs=>Java=>Code Style=>Formatter, Line Wrapping, Method Declarations=>Parameters, Line wrapping policy: "wrap all elements, except first element if not necessary" and Indentation policy: "Default", same for Method Declarations=>throws clause


On Feb 3, 2009, at 10:33 AM, Robert B.Hanviriyapunt wrote:

That's what I do too. I personally appreciate less compacted code. But now, if eclipse could also do some of Xcode's formatting like aligned arguments:

<pastedGraphic.tiff>

Can anyone tell me how to get Eclipse to format like THIS!?

= Robert =

On Feb 3, 2009, at 9:12 AM, Stefan Klein wrote:

Hi,

you can change this under Eclipse Preference -> Java -> Code Style -> Formatter

Stefan

Miguel Arroz schrieb:

Hi!

Sorry about the off-topic, but Eclipse is driving me nuts with this. I like to leave a space before and after everything between parenthesis, like:

object.method( argument );

instead of

object.method(argument);

The problem is that Eclipse prefers the second way, and every time it touches the code for some reason (reformatting, auto- complete, etc) I have to add the spaces manually. How can I convince Eclipse to do what I want?

Yours

Miguel Arroz


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [email protected]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to [email protected]



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to