Line Numbers in Eclipse

It’s 4am in the morning. You’ve been coding in Java for the past 6 hours and realise something’s missing from your Eclipse editor .. something that can confirm that the last 6 hours weren’t a WASTE of time..

and that is line numbers.

To turn on line numbering in Eclipse, simply do the following;

1) Windows -> Preferences
2) General – > Editors -> Text Editors

and click the “Show Line Numbers” checkbox.
Whola?

Now was the last 6 hours a waste?