Is it possible to display line numbers in Editor?

Yes, to display line numbers in the editor area:

  1. From the IDE menu bar, select Window > Preferences .

    The Preferences dialog box appears.

  2. Type number as the filter text to narrow down the list of preferences.
  3. Select Text Editors . The Text Editors preference page appears in the right panel of the Preferences dialog box.
  4. Check the Show line numbers checkbox.
    Figure 1. Text Editors Preference Page

    Text Editors Preference Page

  5. Click OK .

The editor will display line numbers.