Skip to content

Turn On Line Numbers in Eclipse [Luna]

Check out my free resources and deep-dive courses.

Personally, I’m not sure what any code editor thinks it is doing by not having line numbers switched on by default.

But, each to their own, so if you want to see your line numbers in Eclipse and you just can’t find out where on earth to turn them on, aaargh! Don’t panic.

Just go to:

Window -> Preferences -> General -> Editors -> Text Editors

And check the handy “Show line numbers” box:

eclipselinenumbers

Then, take a deep breath, and feel much better than you can now see which line of code you are editing at any given time.

free the mallocs mug gift

A little something I made

When I’m not writing about code, I design geeky mugs. If you’d like one for your desk, or know someone who would, take a look at my designs.

Leave a Reply

Your email address will not be published. Required fields are marked *

Save to list