Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TODOs in Xcode: How to make them stand out?

I am aware of the method of making them warnings, but I want to keep my legit warnings separate from my todos. I'm also have yet to see xcode 4 highlight the todos like everyone seems to think it does. And xcode's todo support only works on todos outside of functions...

The build phase script that is outlined here is wonderful, but it makes the TODOs into warnings, and Objective C creates enough legitimate warnings that I don't want my todo's clogging up the list. Is there a way to make the todo's a different build result, like an info result or something? Something that will not make Xcode's real warnings (half of should be errors) vanish in the crowd?

like image 708
Tustin2121 Avatar asked Feb 27 '12 17:02

Tustin2121


1 Answers

UPDATE

As of Xcode 4.4; FIXME:, ???:, ????:, !!!: all work outside of a function/method.

ORIGINAL ANSWER (< Xcode 4.4)

xcode will highlight a TODO but only outside of a function.

//TODO: This will show in function drop down 
-(void)method1
{
    //TODO: This will not show
}

In addition; FIXME, ???, ????, !!!! do the same.

TODO

like image 153
Richard Stelling Avatar answered Nov 03 '22 00:11

Richard Stelling