• 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: G S <email@hidden>
  • Date: Mon, 26 Apr 2010 10:14:15 -0700

> 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


Hey Chris, thanks.  Is that the best place?  In my notes I have
/Developer/Library/PrivateFrameworks/XcodeEdit.framework/Resources/BaseSupport.xclangspec,
and there's a little more explanation in there:

        Identifier = "xcode.lang.comment.mark";
        Syntax = {
            StartChars = "MTF!?";
            Match = (
                "^MARK:[ \t]+\(.*\)$",
                "^\(TODO:[ \t]+.*\)$",       // include "TODO: " in
the markers list
                "^\(FIXME:[ \t]+.*\)$",      // include "FIXME: " in
the markers list
                "^\(!!!:.*\)$",              // include "!!!:" in the
markers list
                "^\(\\?\\?\\?:.*\)$"         // include "???:" in the
markers list
            );
            // This is the order of captures. All of the match strings
above need the same order.
            CaptureTypes = (
                "xcode.syntax.mark"
            );
            Type = "xcode.syntax.comment";
        };


Gavin
 _______________________________________________
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

References: 
 >Editor Tags (From: Tony Romano <email@hidden>)
 >Re: Editor Tags (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Xcode 3.2.2 hangs when building Core Data application
  • Next by Date: Re: Xcode 3.2.2 hangs when building Core Data application
  • Previous by thread: Re: Editor Tags
  • Next by thread: giant Xcode 3.2.2 download
  • Index(es):
    • Date
    • Thread