

Android Studio is an official IDE (Integrated Development Environment) for develops an Android application right now, before Android Studio the official IDE was use Eclipse Android Development Tools (ADT). Android Studio becomes an official IDE for Android develepment start from 2013. It was announced on May 16 2013 at the Google I/O conference by Katherine Chou (Google’s Product Manager). Android Studio is based on Intelij IDEA, if you already familiar with Intelij IDE is will be easier to use and know the shortcut of Android Studio. If you’re new for using Android Studio or never use Intelij IDEa, better you know about shortcut in this IDE it’s will make your development faster and easier, okay here we go :
alt + Enter
It’s for fix import some library or classes, or you can sett auto import in File -> Settings -> Editor -> General -> Auto Import -> Java, and changes value of Insert imports on paste to All, see the picture below :

Click for bigger and detail image
If you’re using Mac go to Android Studio -> Preferences, then do the same configuration.
ctrl + / (Linux,Windows)
cmd + / (Mac)
It’s used for line comment.
ctrl + shift + / (Linux, Windows)
cmd + alt + / (Mac)
It’s used for block comment.
ctrl + alt + l (Linux, Windows)
option + cmd + l (Mac)
It’s used for format your code.
ctrl + y (Linux, Windows)
cmd + backspace (Mac)
This shorcut used for delete a line.
alt + insert (Linux, Windows)
cmd + n (Mac)
This shorcut used for generated method like a Constructur, Getter/Setter, Override Methods an so on.
ctrl + F9 (Linux, Windows)
cmd + F9 (Mac)
this shorcut used for Build your project.
shift + F10 (Linux, Windows)
ctrl + r (Mac)
This shortcut used for build and run your project.
shift + F9 (Linux, Windows)
ctrl + d (Mac)
And this is for debug.
Glad to me, if you wantgivesuggestion another Android Studio’s shorcut, just put in the comment box below.
扫一扫在手机打开