Reputation: 2023
How can you find out the line of code your cursor is on in Xcode?
Upvotes: 2
Views: 785
Reputation: 124997
Turn on 'Show Line Numbers' in the text editing preferences. Here's a screen shot for Xcode 4:
and for Xcode 3:
Upvotes: 5
Reputation: 81684
For me, anyway, right below the title bar of the editor window it says the name of the file and the line number:
ImportExportExample.java:32
Upvotes: 3