Over a million developers have joined DZone.

Line Numbers in Eclipse

· Java Zone

Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code! Brought to you in partnership with ZeroTurnaround.

Either you hate it, or you love it: Line numbers in the Eclipse Editor:

Line Numbers in Eclipse Editor View

Line Numbers in Eclipse Editor View

Personally, I love it!

Not every Eclipse distribution has it enabled by default (CodeWarrior 10.2 or later has it on by default). In case you want to get the extra screen real estate, or to change the setting, here is how to do this:

The setting is under the menu Window > Preferences > General > Editors > Text Editors:

Show line numbers Setting

Show line numbers Setting

:idea: If you don’t know where there is a setting, simply type in a word in the ‘filter’ text box, and Eclipse will show all settings which could be related to it:

Filter Text Box

Filter Text Box

Happy Numbering :-)

The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code!

Topics:

Published at DZone with permission of Erich Styger , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}