Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Editor Tags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editor Tags

> 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
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 = (
            Type = "xcode.syntax.comment";

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

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

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.