问题
I know you can go to preferences and enable a column that appears on the left part of the editor, showing the line number.
But I am asking is there a way of showing the line number in some kind of status bar or any other part of the Xcode UI without enabling this option (similarly to what Xcode 3 did)?
回答1:
From what I've read so far, I think this option has been removed from XCode 4. Personally, I leave the line numbers column on all the time and it's not too intrusive.
回答2:
Its not removed..Goto X-Code--> Preferences --> Text Editing --> Check Line Numbers..
回答3:
Dave Keck's Xcode fixins might provide a good alternative to what you are looking for. I use XCFixin_CurrentLineHighlighter and it works like charm. See the attached screenshot:
The easiest way to try the plugin, and discover new ones, is to use Alcatraz.
Cheers,
来源:https://stackoverflow.com/questions/5490518/how-to-show-current-line-in-in-xcode-4