Wednesday, 27 July 2011

Eclipse - How to show line numbers

To get the editor pane to show line numbers go to 'Window' -> 'Preferences' -> 'General' -> 'Text Editors' and click the checkbox labelled 'Show line numbers.

In graphical form:

1 comment:

Marcus Wellington said...

Otherwise, you can also type 'CTRL+1' and then "line", which will give you access to the command "Show line numbers"