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_
On OS X: Android Studio (top left of the screen) > Preferences > Editor > Appearance.