In this tutorial I will show you how to make line numbers show in your Eclipse.
This can be very useful when you are trying to fix an error and I also think it looks a lot better with numbers.
To add them you will need to select the button window and then preferences like this.
Now click the Preferences button. When you do that there will pop up a new screen. In that screen you have to select General, Editors and then click Text Editors like this.
In here you can see the Show line numbers checkbox. Simply click it once and you will get the line numbers to the left of the code. It will look like this.