Re: Syntax/Language mode
Re: Syntax/Language mode
- Subject: Re: Syntax/Language mode
- From: David Ewing <email@hidden>
- Date: Mon, 24 Nov 2003 15:34:45 -0700
If the file begins with "#! /usr/bin/perl" on the first line, then
Xcode should also recognize it correctly.
You could also create a .pbfilespec file for these Perl-like files.
Look at
"/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/
Standard file types.pbfilespec" for what the contents should look like.
Your new file would go in "~/Library/Application
Support/Apple/Developer Tools/Specifications".
Dave
On Nov 24, 2003, at 9:04 AM, Stuart Glenn wrote:
So the xcode has built in syntax awareness (highlighting/filling the
function pop up) for perl. That is pretty helpful because occasionally
some of my projects have a few helper scripts and I like staying in
xcode. Now my problem/question though is it only seems to notice that
a file is perl based on a .pl or .pm extension. Most of our scripts
are actually run through a preprocessor so they end in a .pl.in or
.tpl extension. So my question really is how can I tell xcode to treat
this files as perl?
_______________________________________________
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.