When editing XML files in the editor for Eclipse, line numbers are not displayed.
Use case:
I create a layout with many views, one of these lacks android:layout_
File > Settings > Editor > Appearance then click the "Show line numbers" box.