By default, Eclipse’s editor does not display line numbers. Follow this simple guide to enable “Show line numbers”:
In Eclipse IDE, go to Window>Preference>General>Editors>Text Editors, and check Show line numbers. See screenshot below.
How To's, Java, Programming, Windows
How to delete spam comments on WordPress?
How to install Apache ANT on Windows 7?
Reblogged this on Researcher's Blog and commented:
How to display line number in Eclipse IDE?
There is an even quicker way to enable line numbers in eclipse: right click on the space left of the editor window where the markers for errors and warnings and breakpoints are (and where you want to have the line numbers). In the context menu select “Show Line Numbers”. Voilà :).
Great. Thank you, Tom.
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Blog at WordPress.com.