Re: Xcode C++ Code Indexing .T files
Re: Xcode C++ Code Indexing .T files
- Subject: Re: Xcode C++ Code Indexing .T files
- From: Jamie Cho <email@hidden>
- Date: Tue, 17 Mar 2009 08:46:23 -0400
Hi Chris,
Alas, I tried telling XCode to treat .T files as C++ and it did not work. For example, the following did not index when it was renamed to Silly.T and told to be treated as sourcecode.cpp.
class JCVector {
public:
double x, y;
};
This did index properly when it was called Silly.cpp. Is this an XCode bug? Any other ideas?
Thanks,
Jamie
On Tue, Mar 17, 2009 at 1:19 AM, Chris Espinosa
<email@hidden> wrote:
On Mar 16, 2009, at 9:31 PM, Jamie Cho wrote:
Is there anyway to get Xcode to correctly index for code sense C++ files that have non standard extensions? For example, I would like to compile some C++ code that has a .T extension instead of .cpp. I have tried using hard links to create "shadow" copies of the files and this seems to work. Unfortunately, this will not be compatible with Xcode's CVS integration.
The .T files are C++ files with a few extensions to support closures. See http://www.okws.org/doku.php?id=okws:tame.
You should be able to choose Get Info on each file and set its File Type to sourcecode.c.cpp and have it treated as C++ by Xcode's infrastructure(s). But depending on how intrusive the extensions are, the parsers and scanners may not like what they see.
Chris
_______________________________________________
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