• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] Spaces inside parenthesis
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Spaces inside parenthesis


  • Subject: Re: [OT] Spaces inside parenthesis
  • From: David Avendasora <email@hidden>
  • Date: Tue, 3 Feb 2009 13:32:05 -0500

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: [OT] Spaces inside parenthesis (From: "Robert B. Hanviriyapunt" <email@hidden>)
 >Re: [OT] Spaces inside parenthesis (From: Robert B.Hanviriyapunt <email@hidden>)
 >Re: [OT] Spaces inside parenthesis (From: Mike Schrag <email@hidden>)

  • Prev by Date: AJAX and WOForm (ERXForm)
  • Next by Date: Re: WOX status??
  • Previous by thread: Re: [OT] Spaces inside parenthesis
  • Next by thread: Re: [OT] Spaces inside parenthesis
  • Index(es):
    • Date
    • Thread