Abstract
Abstract

Reputation: 561

How to get the line number in an Activity in eclipse

How can i get the line number in the left hand side of the Activty in eclipse. Anyone please help.

Upvotes: 2

Views: 234

Answers (1)

Christine
Christine

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".

enter image description here

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

Related Questions