How can I show line numbers by default in Eclipse?
Eclipse – How to show line numbers in Eclipse
configurationeclipse
Related Topic
- Eclipse – How to get Eclipse to show .* files
- Eclipse – How to you speed up Eclipse
- Eclipse – How to change Eclipse to use spaces instead of tabs
- Java – ‘Must Override a Superclass Method’ Errors after importing a project into Eclipse
- Android – “Debug certificate expired” error in Eclipse Android plugins
- Eclipse HotKey: how to switch between tabs
- Java – Eclipse: Set maximum line length for auto formatting
- Java – Can’t start Eclipse – Java was started but returned exit code=13
Best Answer
Window → Preferences → General → Editors → Text Editors → Show line numbers.
Edit: I wrote this long ago but as @ArtOfWarfar and @voidstate mentioned you can now simply:
Right click the gutter and select "Show Line Numbers":