Highlight // TODO in Xcode

Xcode 4 recognizes comments such as // TODO: comment or // FIXME: comment , and displays it in the Class Overview drop-down list.

Is it possible to highlight // TODO bright color in the source code so that you can quickly find open TODOs?

+8
comments xcode highlight syntax-highlighting todo
source share
2 answers

You might be able to edit the syntax highlighting definitions, but I'm not sure.

But here is the solution that makes your TODO and FIXME displayed as warnings when creating .

+16
source share

Use the #warning keyword in your code.

+4
source share

All Articles