开发者

Highlight // TODO in XCode

开发者 https://www.devze.com 2023-03-07 07:08 出处:网络
XCode 4 recognizes开发者_JAVA百科 comments like // TODO: comment or // FIXME: comment and displays it in the Class overview drop-down.

XCode 4 recognizes开发者_JAVA百科 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?


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.


Use #warning keyword in your code.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号