Android Studio commonly used shortcut keys summary (windows version)

Android studio is an IDE for developers to eat, so it must be used very easily. Mastering shortcut key operation can not only improve the efficiency of writing code, but also rely on mouse operation


Alt key related


  • Alt+1 Switch between project view and file view
  • Alt+6 Show hidden logcat view
  • Alt+左右方向键 Switch between multiple open files
  • Alt+Enter Import packages and resolve file errors

Ctrl key related


  • Ctrl+W Quickly select a row, multiple operations can select a method
  • Ctrl+N Quickly search for recently opened class files
  • Ctrl+D Copy the current line to the next line
  • Ctrl+Y Delete a line
  • Ctrl+J Prompt the corresponding java template list, click Enter to quickly generate common template code
  • Ctrl+H Show the inheritance tree of the current class
  • Ctrl+F Find in current file
  • Ctrl+R Find and replace in current file
  • Ctrl+B Jump to the parent class of the current class, similarCtrl+鼠标点击
  • Ctrl+G Which specific row and column of the file can be located

Shift key


  • 连续双击 Shift Quickly search recently opened java files
  • Shift + F6 Rename files, folders, etc.
  • Shift + F10 Run the debug application to install to the device
  • Shift+Enter Insert a line below the current line

Other key combinations


  • Ctrl+Shift+N Find files
  • Ctrl+Shift+U Case conversion
  • Ctrl+Shift+R Complete global search and replacement throughout the project
  • Ctrl+Alt+C Generate global constants
  • Ctrl+Alt+V Generate local variables
  • Ctrl+Alt+F Generate member variables
  • Ctrl+Alt+M Extraction Method
  • Ctrl+Alt+O Quick import package

Note: Don't press Ctrl + Shift + F randomly. It is related to the system's switch between simplified and traditional Chinese. Sometimes the inexplicable input method becomes traditional. Just press this key combination and press again


Don't memorize it, you can make a good one. . . Get here today and keep updating. Supplement the corresponding screenshot or gif

Published 118 original articles · Like 56 · Visit 290,000+

Guess you like

Origin blog.csdn.net/Jiang_Rong_Tao/article/details/105535312