• 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: Setting tab handling per project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting tab handling per project


  • Subject: Re: Setting tab handling per project
  • From: David Ewing <email@hidden>
  • Date: Fri, 8 Feb 2008 16:37:21 -0700


On Feb 8, 2008, at 12:29 PM, Rick Mann wrote:

My new company has some really stupid guidelines for how code is to be indented. In my personal projects, I like to use a different style.

Is there any way to tell Xcode how to handle tabs differently in:

a) Files not associated with any particular project
b) Files associated with a particular project (where one project does it one way, and another does it differently)


Basically, I want my own projects to insert hard tab characters and use 4-column tab stops, and I want my work projects to use soft 4- char tabs and 8-character hard tab stops.


You can set the values on a per-file or per-group basis within a project. And you can select all the groups at once and do a Get Info to change them all at once. So, no, there's no way to set them per- project, but the workaround is not very hard.

Dave
_______________________________________________
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


  • Follow-Ups:
    • Re: Setting tab handling per project
      • From: Rick Mann <email@hidden>
References: 
 >Setting tab handling per project (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: missing build settings
  • Next by Date: Re: Setting tab handling per project
  • Previous by thread: Setting tab handling per project
  • Next by thread: Re: Setting tab handling per project
  • Index(es):
    • Date
    • Thread