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



Thanks for the useful info.

I'm getting my files to show up as XML now, but it appears that Xcode
doesn't apply know about to XML elements or attributes, as far as colors
go.

I realize that Xcode is primarily for editing C, C++, and Java, but is
there a way to control the color of XML elements/attributes? Is this
something that will be added in a future release of Xcode?

 -- Garrett


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/Stand
ard
> 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.  
> 
> -- Garrett
> _______________________________________________
> 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. 
_______________________________________________
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.



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.