Reputation: 561
How can i get the line number in the left hand side of the Activty in eclipse. Anyone please help.
Upvotes: 2
Views: 234
Reputation: 514
Before it used to be: Window → Preferences → General → Editors → Text Editors → Show line numbers.
but now we can simply do : 1.Right Click in the Gutter(left side of your activity: As shown in figure) 2. And then Click "Show Line Numbers".
Another way is using shortcuts like : Ctrl+F10, then press n "it show line number and hide line numbers.
You can try these steps that works best for you. Thanks.
Upvotes: 2