TODOs in Xcode: How to make them stand out?

前端 未结 2 1724
名媛妹妹
名媛妹妹 2021-02-19 05:40

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:12

    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.

提交回复
热议问题