Preferably we should be consistent wrt _cmd versus __PRETTY_FUNCTION__.
We could introduce a variable for this, e.g. use $
{TM_OBJC_PRETTY_FUNCTION:_cmd} to keep the behavior we currently have,
but allow the user to set TM_OBJC_PRETTY_FUNCTION to
__PRETTY_FUNCTION__ -- maybe long-term make that the default.
On 29/09/2007, at 12:43, Ciarán Walsh wrote:
A command triggered with logm⇥ which inserts a log call to show the
incoming parameters for the current method.
E.g.: NSLog(@"%s: tableView:%@ objectValueForTableColumn:%@ row:
%d", __PRETTY_FUNCTION__, aTableView, aTableColumn, rowIndex);
There’s probably a better name?
Changed:
A branches/WIP/Bundles/Objective-C.tmbundle/Commands/Insert
NSLog() for current method.tmCommand
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev