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)?
Go to Xcode Preferences > Text Editing > Show: Line numbers to show the line numbers on the editor. Show activity on this post.
Shift + Control + Click First, hold Shift and Control (^) and then click where you want to select multiple lines and then start typing. One small caveat: unlike other text editors where you can click that same line to unselect the multi-line selection, Xcode doesn't support that yet.
Search for "line" under the Text tab. There are lots of "Insert Newline" commands for which you can set key combos. There's Ctrl+o, Cmd+Enter, Opt+Enter, etc.
The left-most column in the Code Editor which contains the line numbers is known as the Gutter. Blue arrow-tabs present in the gutter are "breakpoint indicators". Breakpoints are a part of the debugging process that we'll teach you about later. Above: Xcode when encountering a breakpoint.
Its not removed..Goto X-Code--> Preferences --> Text Editing --> Check Line Numbers..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With