• 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: Tabs/spaces preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tabs/spaces preferences


  • Subject: Re: Tabs/spaces preferences
  • From: Scott Tooker <email@hidden>
  • Date: Wed, 20 May 2009 10:19:42 -0700


On May 20, 2009, at 5:01 AM, Jonny Taylor wrote:


Having started doing some work in Python, in which whitespace is a language feature (for better or for worse...), I'm running into problems with Xcode's treatment of tabs and spaces. As far as I can see, there's only a global setting in the Xcode preferences to replace tabs with four spaces. What I would like to do is to have that behavior for *.py files but retain the existing behaviour of tabs-are-tabs for my C code. Is there any way of doing that, or am I going to have to accept that tabs are always replaced with spaces in any file I write (or use a different editor for Python)?


In addition to the per-application preferences, you can also set a preferences for tabs vs. spaces at the file reference level (via the inspector) or on a group (also via the inspector).


I'm not aware of an ability to set these preferences per filetype thought, sounds like a nice feature request for BugReporter.

Scott
_______________________________________________
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: 
 >Tabs/spaces preferences (From: Jonny Taylor <email@hidden>)

  • Prev by Date: Adding static libraries to an iPhone project
  • Next by Date: Re: Adding static libraries to an iPhone project
  • Previous by thread: Tabs/spaces preferences
  • Next by thread: Re: Tabs/spaces preferences
  • Index(es):
    • Date
    • Thread