Re: sourcecode.cpp vs. sourcecode.cpp.cpp?
Re: sourcecode.cpp vs. sourcecode.cpp.cpp?
- Subject: Re: sourcecode.cpp vs. sourcecode.cpp.cpp?
- From: Zachary Pincus <email@hidden>
- Date: Thu, 18 Aug 2005 12:37:04 -0700
On Aug 17, 2005, at 7:11 PM, Peter Lau wrote:
On Aug 17, 2005, at 6:59 PM, Zachary Pincus wrote:
XCode keeps a hierarchy of filetypes. (You can examine it in the
file types pane of the preferences). "sourcecode" is the parent of
all source files; sourcecode.cpp is the parent of all c++ files.
Children of sourcecode.cpp include sourcecode.cpp.h and
sourcecode.cpp.cpp (header and source files,
respectively.) This matters if there were different syntax
hilighting rules, etc. for the two.
Interesting... now where did you get that info?
This comes up when you want to make it so that XCode recognizes new
file types. See e.g. http://lists.apple.com/archives/Xcode-users/2004/
Jan/msg00548.html .
The standard hierarchy is stored in this file, if you want to examine
it:
System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/
Standard file types.pbfilespec
To the best of my knowledge, this file basically maps file
"identifiers" to file extensions and other properties of the files
and how XCode should deal with them.
Zach
_______________________________________________
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