cometta
cometta

Reputation: 35689

eclipse java code display linenumber

what plugins do i need to install on eclipse so that .java files will show line number? how about show line number on .xml/.html as well?

Upvotes: 5

Views: 22652

Answers (4)

srinivas
srinivas

Reputation: 472

What if line numbers are not displayed even after checking the line number option in Window->Preferences->Editors->Show Line Numbers checkbox. I am facing this issue.

Upvotes: 0

galovikcode.eu
galovikcode.eu

Reputation: 11

Easy click on left bar (where line numbers will show) and clikc Show line numbers.

http://prntscr.com/2znore

Upvotes: 0

Jack
Jack

Reputation: 133577

There is also a simpler way: just right click on gutter (left border of your editor window in which your code resides) and enable them.. there is a specific option there.

alt text

Upvotes: 45

Kaleb Brasee
Kaleb Brasee

Reputation: 51945

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

Upvotes: 17

Related Questions