Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ Eclipse Galileo getting it to display line numbers - how?

EDIT: jldupont's suggestion (see below) did the trick

Window -> Preferences -> General -> Editors -> Text Editors -> Show line numbers


I just installed Eclipse Galileo (first time) and am programing in C++ and couldn't get the editor to display the line numbers... When i Googled it I got these directions:

Go to Window -> Preferences -> Editor -> Appearance and check Show line numbers

But when I follow those directions - there is no "Show Line Numbers" check box? where can i get this 'plug-in' of enable this feature? or does Eclipse have line numbers?

note: i have CDT installed

like image 705
Wallter Avatar asked Dec 15 '09 21:12

Wallter


People also ask

How do I turn on line numbers in eclipse?

Go to Windows → Preferences → General → Text Editors → Show numberlines. Click OK, then Apply changes. Then it will show the line count automatically.

How do I add line numbers in IDE?

By default, line numbers are hidden in the Arduino IDE. In order to display the line numbers, go to File → Preferences. In the dialog that opens, tick the box that says 'Display Line Numbers'. The line numbers will now appear on the Sketch.

How do you show line numbers in Java?

Open any Java source file in any project and right click on the left bar in the code window. In the pop-up window which opens up, click on the option, Show Line Numbers.


1 Answers

Window -> Preferences -> General -> Editors -> Text Editors -> Show line numbers

like image 148
jldupont Avatar answered Oct 24 '22 05:10

jldupont