• 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: Peter Lau <email@hidden>
  • Date: Wed, 17 Aug 2005 22:11:55 -0400

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?

Note that "sourcecode.cpp.cpp" files can have extensions .cpp, .cxx (and I think others) and still be recognized as such. The ".cpp" in "sourcecode.cpp" isn't so much a file extension as a namespace.

Thanks for the extra pointer!

pete


_______________________________________________ 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
  • Follow-Ups:
    • Re: sourcecode.cpp vs. sourcecode.cpp.cpp?
      • From: Zachary Pincus <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>)

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