How to show line numbers in Android Studio

Line numbers are turned off by default.

Logcat shows line numbers when errors occur, therefore it is a good idea to have line numbers turned on.

To turn on line numbers:

  1. Press: បញ្ជា + ការ​ផ្លាស់​ប្តូ​រ + A
  2. ប្រភេទ: show l
  3. Click the toggle button to ON
  4. Click anywhere in the code to dismiss the search box

 

ទុក​ឱ្យ​ឆ្លើយ​តប​មួយ