- Go to Menu
- Press Window
- Press Preferences
- Press General (from tree on the left)
- Press Editors (from tree on the left)
- Press Text Editors (from tree on the left)
- Press Show line numbers check box on the right .
This blog is known for following posts:
30 October 2013
How to alwaws show line numbers in Eclipse and STS ( SpringSource Tool Suite )
STS 3.x.x and Eclipse Juno
It probably works in previous and future version of STS and Eclipse.
Window -> Preferences -> General -> Editors -> Text Editors -> Show line numbers