Changing plist name changes Xcode editor layout
Changing plist name changes Xcode editor layout
- Subject: Changing plist name changes Xcode editor layout
- From: Tom Harrington <email@hidden>
- Date: Thu, 4 Feb 2010 16:53:32 -0700
It appears that Xcode makes assumptions about a property list's
contents based on its file name.
I had a plist named unitNames.plist, and I was able to edit it
normally-- it has multiple levels of hierarchy and I could edit each
one, set data types for each element, etc.
Then I renamed the file to unitInfo.plist, and now Xcode apparently
assumes that it's an application's Info.plist file. No data types are
shown, and collections are just marked as "Information Property List".
See a screenshot at
<http://skitch.com/atomicbird/nu4bs/unitinfo.plist>.
This seems buggy-- Xcode shouldn't change the editor layout just
because the filename is different, if the file extension hasn't
changed. If I'd changed it from ".plist" to ".m" I'd expect weirdness
but not in this case. Is this a bug or is it, by some logic, intended
this way?
--
Tom Harrington
email@hidden
AIM: atomicbird1
_______________________________________________
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