What plugins do I need to install on eclipse so that .java files display the line number? what about show line number on .xml / .html?
There is also an easier way: just right-click on the gutter (to the left of your editor window where your code is located) and enable them. There is a specific option.
Menu "Window" → "Settings" → "General" → "Editors" → Text editors → "Show line numbers"
( ) clikc .
http://prntscr.com/2znore
What to do if line numbers are not displayed even after checking the line number in the window "Window-> Settings-> Editors-> Show line numbers". I ran into this problem.