• 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: Syntax/Language mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Syntax/Language mode
      • From: Stuart Glenn <email@hidden>
References: 
 >Syntax/Language mode (From: Stuart Glenn <email@hidden>)

  • Prev by Date: Re: Turning off spurious C warning in XCode ?
  • Next by Date: Re: Turning off spurious C warning in XCode ?
  • Previous by thread: Syntax/Language mode
  • Next by thread: Re: Syntax/Language mode
  • Index(es):
    • Date
    • Thread