hgbnerd
hgbnerd

Reputation: 1100

Highlight // TODO in XCode

XCode 4 recognizes comments like // TODO: comment or // FIXME: comment and displays it in the Class overview drop-down.

Is there the possibility to highlight // TODO with a bright color in the source code, so one can quickly find open TODOs?

Upvotes: 10

Views: 5266

Answers (2)

boweidmann
boweidmann

Reputation: 3342

Use #warning keyword in your code.

Upvotes: 7

Chris Wagner
Chris Wagner

Reputation: 21013

You may be able to edit the syntax highlighting definitions to do this, I am not sure though.

But here is a solution that will make your TODOs and FIXMEs show up as warnings when you build.

Upvotes: 17

Related Questions