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?

No related posts.



8 Responses to “Line Numbers in Eclipse”

  1. Alan Peters says:

    Thank you! my goodness Eclipse can be maddening.

  2. Oliver says:

    My generation is soft, I ‘googled’ it before I even went searching. Thanks.

  3. Steve S says:

    Eclipse F1 was no help but your blog was. Thanks!

  4. Eclipsed says:

    Absolutely miserable UI! Thanks so much for posting this simple tip.

  5. C1 says:

    Thanks!

  6. Rapi says:

    Thank you so much! Haha. So simple yet magnanimous in nature. :D

  7. Harvey Ramer says:

    Great little tip. Thanks!

  8. Ankur Chandra says:

    Thanks dude.. Great tip..
    I use net beans and always thot why the h e l l dus this is dus not have line numbers!!

Leave a Reply