It came to a point that I needed to force my Eclipse IDE to show line numbers to easily keep track of the code. Man, finding where to set it was not easy. Then I realized a coder’s best friend: Google. So here is how to set your Eclipse IDE to show line numbers.
- Windows -> Preferences
- General – > Editors -> Text Editors
- click the “Show Line Numbers” checkbox.
There you have it.