返回
顶部

修改密码

Useful Android Studio Shortcuts

+1

-1

收藏

+1

-1

点赞0

评论0

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 Andro…

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.

扫一扫在手机打开

评论
已有0条评论
0/150
提交
热门评论
相关推荐
Get your hands on Android Studio 1.3,handsandroid
  • AndroidStudio
  • 2022-05-20 18:29
  • 9 0 0
+1
How to Use OpenCV in Android Studio,opencvandroid
  • AndroidStudio
  • 2022-05-20 18:29
  • 11 0 0
+1
Useful Android Studio Shortcuts
  • AndroidStudio
  • 2022-05-20 18:29
  • 5 0 0
+1
Android Studio tutorial for beginners
  • AndroidStudio
  • 2022-05-20 18:29
  • 11 0 0
+1
Android Studio: Simple webview setup
  • AndroidStudio
  • 2022-05-20 18:29
  • 7 0 0
+1
今日要闻
换一批
热点排行