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

Organize imports is still "CTRL + SHIFT and O" Right?

I'm having trouble organizing imports.

2 Answers

In Android Studio, there is a way to automatically organize imports as you type. If you are on a Mac, go to Android Studio -> Preferences (on Windows I think it's under File -> Settings), and then under Editor -> Auto Import, you can change the settings to look like this.

Ben also explains how to do this in the Setting Up a Project in Android Studio video at around 3:47.

James N
James N
17,864 Points

thanks, that helped A LOT!

Are you using Android Studio or Eclipse? What operating system are you using?

I am now using Android Studio. I was doing the Crystal Ball Project and it was using Eclipse. I think it's now " ALT + ENTER "

I think..