• 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: Editor Tags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editor Tags


  • Subject: Re: Editor Tags
  • From: Chris Espinosa <email@hidden>
  • Date: Sun, 25 Apr 2010 17:54:54 -0700

On Apr 25, 2010, at 2:35 PM, Tony Romano wrote:

In the editor you can use //TODO:, // FIXME:, //MARK:, !!!:, ???:.  Anyone know where these are defined and can I add my own.

In /Developer/Library/PrivateFrameworks/DVTFoundation.framework/Resources/BaseSupport.xclangspec :

{
Identifier = "xcode.lang.comment.mark";
Syntax = {
StartChars = "MTF!?";
Match = (
"^MARK:[ \t]+(.*)$",
"^(TODO:[ \t]+.*)$",
"^(FIXME:[ \t]+.*)$",
"^(!!!:.*)$",
"^(\\?\\?\\?:.*)$",
);
CaptureTypes = (
"xcode.syntax.mark",
);
Type = "xcode.syntax.comment";
};
},


Extending Xcode with your own .xclangspec files is undocumented and unsupported, but Xcode does load .xclangspec files from ~/Library/Application Support/Developer/Shared/Xcode/Specifications/ .

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

  • Follow-Ups:
    • Re: Editor Tags
      • From: G S <email@hidden>
References: 
 >Editor Tags (From: Tony Romano <email@hidden>)

  • Prev by Date: Re: giant Xcode 3.2.2 download
  • Next by Date: Xcode 3.2.2 Re-enabling shared library breakpoint
  • Previous by thread: Editor Tags
  • Next by thread: Re: Editor Tags
  • Index(es):
    • Date
    • Thread