Hacker News new | ask | show | jobs
by KMnO4 1591 days ago
This is one of my favourite features of XCode. If you "// MARK:" lines, they'll show up in the minimap.

Eg. https://miro.medium.com/max/1400/1*j38oOm3Pt5AMnDI3HQ6TGQ.pn...

Screenshot stolen from this Medium[0].

[0]: https://medium.com/@mumtaz.hussain/xcode-11-now-makes-mark-c...

3 comments

Excellent. I hoped for a similar VS Code extension but found none. There's only Banner comments[0] to ease converting a string to large ASCII letters inline. [0]: https://marketplace.visualstudio.com/items?itemName=heyimfuz...
I think that might be derived from The "#pragma mark" feature that was in the CodeWarrior IDE which could be used to have annotations show in the drop-down list of functions in the code editor
And in the jump bar (^6, which is then filterable by typing) long before Xcode had the minimap!