No line numbers in Eclipse or Android Studio XML editor

前端 未结 9 1476
南方客
南方客 2021-02-01 12:35

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_

9条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-01 12:49

    To make the line numbers always show for Android Studio:

    File > Settings > Editor > Appearance then click the "Show line numbers" box.

    The accepted answer works, but it will only make the line numbers visible on the active editor.

提交回复
热议问题