How to show line numbers in Eclipse

How to show line numbers in Eclipse.

One of the first things I usually do when I install new Eclipse, I turn on line numbers in Eclipse editor. How to do that? Very easily. Open some file in Eclipse and on the left side of a window with a file contents right click and select Show Line Numbers. This will show line numbers in all files, not just this one.

Thanks to CVUT FD for this tip!