Display line number in eclipse

Right click the left side of the editor or use the shortcut Ctrl+F10  to show the menu, and then select the item as shown in the figure.

Selection_004

Advertisements