Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (retired 2014) Getting Started with Android Introduction to Methods and Classes

Video time frame 01:28 he has numbers front of every line but i dont have those how will i get those?

In video he has in Main Activity.java window numbers front of every line. Example: 1. 2. 3. 4. 5. etc but i don't have those numbers. How can i get those numbers back? Here is example: http://i62.tinypic.com/ajufyr.jpg

2 Answers

Hi, you can achieve that on Eclipse by opening Window -> Preferences. On the left navigation pane you expand General -> Editors and then click on Text Editors. There should be a checkbox with the text "Show line numbers" and by checking that you will get the line numbers. Here's a screenshot to make it simpler:

Line numbers Eclipse

Thank you very much. Starting to love this place. Having question people always answer and very fast:)