By default, the line number is not shown in Eclipse’s editor. In most cases, it’s inconvenient either for browsing nor debugging. Here’s how you can turn on the “display line numbers” feature in Eclipse:
Click Preference on menu Windows;
Open General and then Editors;
Click Text Editors and then check the box Show line numbers;