Re: Editor Tags
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
References: | |
| >Editor Tags (From: Tony Romano <email@hidden>) |