Over a million developers have joined DZone.

Line Numbers in Eclipse

DZone's Guide to

Line Numbers in Eclipse

· Java Zone
Free Resource

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

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

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.


Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


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

{{ parent.tldr }}

{{ parent.urlSource.name }}