Yes, to display line numbers in the editor area:
- From the IDE menu bar, select
Window > Preferences
.
The
Preferences
dialog box appears.
- Type
number
as the filter text to narrow down the list of preferences.
- Select
Text Editors
. The
Text Editors
preference page appears in the right panel of the
Preferences
dialog box.
- Check the
Show line numbers
checkbox.
Figure 1.
Text Editors Preference Page

- Click
OK
.
The editor will display line numbers.