How to bookmark code in XCode 4?

后端 未结 8 1506
独厮守ぢ
独厮守ぢ 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条回答
  •  醉梦人生
    2021-01-31 14:26

    Write below comment in your source file that you want bookmarked.

     //<##>
    

    And you can navigate to next / previous with: '^/' or '^?'

    1. <##> means "placeholder of code snippet"
    2. ^/ means "jump to next placeholder"
    3. ^? means "jump to previous placeholder"

    thanks

提交回复
热议问题