Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I get Eclipse / EPIC to display line numbers?

Tags:

eclipse

epic

I installed EPIC, but I cannot see the line number even I enable line number, any idea?

like image 340
cc96ai Avatar asked Apr 28 '10 14:04

cc96ai


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 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.

How do I remove line numbers in eclipse?

You can do the same by using the menu options as well: Go to Windows → Preferences → General → Editors → Text Editors, now look for "Show line numbers" checkbox and tick it!


1 Answers

This is what worked for me:

Goto:

  1. Window->Preferences->Perl Epic->Editor, then place a check beside "Show line numbers."
  2. Window->Preferences->General->Editors->Test Editors, then UNCHECK Show line numbers.
  3. Click Apply.
  4. If the line numbers do not show up, right click on the left margin of the perl file you are viewing and click "Show Line Numbers" from the popup menu.

Make sure you uncheck the one in the general settings and check the one for the EPIC settings.

You may need to restart Eclipse to see the line numbers.

like image 137
jsmaupin Avatar answered Nov 10 '22 04:11

jsmaupin