• 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: sourcecode.cpp vs. sourcecode.cpp.cpp?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >sourcecode.cpp vs. sourcecode.cpp.cpp? (From: Peter Lau <email@hidden>)
 >Re: sourcecode.cpp vs. sourcecode.cpp.cpp? (From: Zachary Pincus <email@hidden>)
 >Re: sourcecode.cpp vs. sourcecode.cpp.cpp? (From: Peter Lau <email@hidden>)

  • Prev by Date: Re: Xcode-users Digest, Vol 2, Issue 436
  • Next by Date: Possible to set suffix for C++ headers??
  • Previous by thread: Re: sourcecode.cpp vs. sourcecode.cpp.cpp?
  • Next by thread: custom visualization in gdb...
  • Index(es):
    • Date
    • Thread