How to bookmark code in XCode 4?

后端 未结 8 1602
独厮守ぢ
独厮守ぢ 2021-01-31 13:48

I couldn\'t find a way to put a bookmark inside the code in XCode 4. I know about the #pragma mark thing but it\'s not what I\'m looking for. What I need is somethi

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-31 14:35

    Bookmarks seem to have gone the way of the dinosaur in Xcode 4. This wouldn't have been so bad had the jump-to-bookmark popup above the editor in previous versions not also disappeared. The best replacement currently seems to be to use breakpoints (disabled individually, of course) and navigate with the Breakpoint Navigator.

    Shortcut to breakpoints is Cmmd + 7. Once there use arrow keys

    File a bug report at http://bugreporter.apple.com if you feel something like this should be brought back.

提交回复
热议问题