Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to 'show current line' in in Xcode 4?

Tags:

xcode4

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)?

like image 694
Ricardo Sanchez-Saez Avatar asked Mar 30 '11 18:03

Ricardo Sanchez-Saez


People also ask

How do I show lines in Xcode?

Go to Xcode Preferences > Text Editing > Show: Line numbers to show the line numbers on the editor. Show activity on this post.

How do I select a line in Xcode?

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.

How do I start a new line in Xcode?

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.

What is the left most column in the Xcode text editor known as?

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.


1 Answers

Its not removed..Goto X-Code--> Preferences --> Text Editing --> Check Line Numbers..

enter image description here

like image 141
rohan-patel Avatar answered Oct 08 '22 06:10

rohan-patel