TODOs in Xcode: How to make them stand out?

前端 未结 2 843
情深已故
情深已故 2021-02-19 05:45

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

2条回答
  •  臣服心动
    2021-02-19 06:04

    One way is to use Xcode's search feature. If you mark your code with // TODO:..., you can search the entire project for // TODO and generate a nice list of tasks.

    Also, note that comments starting with // TODO: or // FIXME: that are outside the scope of any method will appear in the method popup menu, just like #pragma mark lines.

提交回复
热议问题