• 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: Johann Werner <email@hidden>
  • Date: Tue, 3 Feb 2009 16:18:38 +0100

Hi Miguel,

you have to change the formatter Eclipse uses for reformatting. To edit these settings go to Ecplise preferences and select Java->Code Style->Formatter (see picture)

PNG image




Then edit the selected profile, select the tab "White Space" and check the corresponding options (see picture below).


jw

PNG image


Am 03.02.2009 um 16:01 schrieb Miguel Arroz:

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >[OT] Spaces inside parenthesis (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Re: [OT] Spaces inside parenthesis
  • Next by Date: Re: [OT] Spaces inside parenthesis
  • Previous by thread: Re: [OT] Spaces inside parenthesis
  • Next by thread: Re: [OT] Spaces inside parenthesis
  • Index(es):
    • Date
    • Thread