• 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: indent when putting ":"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: indent when putting ":"


  • Subject: Re: indent when putting ":"
  • From: Adrian Petrescu <email@hidden>
  • Date: Mon, 26 Jul 2010 15:44:06 -0400

I think you'll find the first one is the more commonly used, and not just in the Apple community. Almost everywhere I've seen uses it, including Eclipse's CDT.

Cheers,
Adrian

On Mon, Jul 26, 2010 at 3:40 PM, Jos Timanta Tarigan <email@hidden> wrote:
hi, 

i mostly use xcode to do c++ programming. i notice that when i press : the line indent to the left. when i reindent the whole page it also indent : to the left, it makes the public and private definition looks like this

class A {
public:
   int x
}

instead of the generally used

class A {
   public:
      int x
}

any idea/solution how to set it to a more generally used indentation rules?

thanks in advance 
 
=================================
http://www.svnstrk.blogspot.com



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users 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.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >indent when putting ":" (From: Jos Timanta Tarigan <email@hidden>)

  • Prev by Date: indent when putting ":"
  • Next by Date: Re: indent when putting ":"
  • Previous by thread: indent when putting ":"
  • Next by thread: Re: indent when putting ":"
  • Index(es):
    • Date
    • Thread