Platinum Partner
eclipse,tips and tricks,tools & methods,ides

Line Numbers in Eclipse

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 :-)

Published at DZone with permission of {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

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

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}