Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: editing XML files



If your file really is XML, it should start with "<?xml", and Xcode will automatically treat it as XML. You shouldn't need to add a new file type (but it's still OK if you do).

Dave

On Jan 26, 2004, at 3:48 PM, Scott Tooker wrote:

You can add your own file type information for Xcode to use in a
.pbfilespec file. Just drop the file in ~/Library/Application
Support/Apple/Developer Tools/Specifications. You can look at
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/
Standard file types.pbfilespec to see more examples.

In your case, you might have a file named otherxml.pbfilespec that
contains:

(
	{
		Identifier = text.plist.xml.other;
		BasedOn = text.plist.xml;
     	Extensions = (wml);
	},
)

Scott

On Jan 17, 2004, at 1:14 PM, Garrett Smith wrote:

Is there a way to tell xcode that a parcticular file extension should
be edited as XML? E.g. WML, etc. -- it would be nice to see the syntax
coloring.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >editing XML files (From: Garrett Smith <email@hidden>)
 >Re: editing XML files (From: Scott Tooker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.