Here, I've sorted out some of the shortcuts used in using the Androidstudio development tool, as well as saving time in the development process, but perhaps most developers have used eclipse development tools before and may not get used to it, But it takes a long time to become accustomed to it.
Common shortcut keys are as follows:
CTRL + N: Find class
Ctrl+shift+n: Finding Files
Ctrl+alt+l: Formatting code
Ctrl+alt+o: Optimizing imported Classes and Packages
ctrl+/: Comment Code format://code block
ctrl+shift+/: Comment Multi-line code format:/* code block */
Ctrl+alt+space (space): auto-complete code
CTRL + SPACE: Code sense hints
Ctrl+alt+space: Class name and Interface name hints
Ctrl+shift+alt+n: Finding methods and variables in a class
Ctrl+shift+c: Compare the recently modified code
Ctrl+alt+left/right: Return to the last viewed location
ctrl+[or]: can be adjusted to the beginning of the curly brace
Ctrl+shift+backspace: Can jump to the last edit place
CTRL+F12: The structure of the current file can be displayed
CTRL+ALT+V: You can introduce variables. For example, to assign a variable to a SQL in parentheses
CTRL+F7: You can query the current element's reference in the current file, and then press F3 to select
Ctrl+alt+t: The code can be wrapped within a block, such as Try/catch
CTRL+J: Automatic Code
Ctrl+r: Replacing text
Ctrl+e: Recently opened file
CTRL+H: Show class structure diagram
Ctrl+f: Finding text
Ctrl+p: Parameter information for the prompt method
CTRL+Q: Cursor Check method displays detailed parameter information for this method
CTRL+X: Deleting Rows
Ctrl+d: Copying rows
SHIFT+F6: Class Rename
shift+alt+ up ARROW: Code moves up
shift+alt+ down ARROW: code moves down
Alt+insert: Rapid generation of construction methods or Get,set methods
Alt+enter: Inductive code hints such as method transformation
ALT + ENTER: Import package, auto fix
ALT+F1: Find where the code is located
Alt+l: Quickly open or hide the engineering panel
Alt+left/right: Toggle Code View
Alt+up/down: Quickly move a location between methods
F2 or SHIFT+F2: Quick positioning in highlighting errors or warnings
Alt+shift+k: Note Class Description < Here you need to set:settings--> click Keymap--> in the upper right corner to search for other (fixdoc comment)-See fix DocComment right mouse button Select the first, in the input box Firststroke input alt+shift+k
To create a class comment template: Setting-->editor-->fileand Code Templates-->includes-->file Header
Androidstudio debug Mode shortcut key:
Alt+f8 Check values when debugging
F8 equivalent to eclipse F6 jump to the next step
Shift+f8 equivalent to eclipse's F8 jumps to the next breakpoint, also equivalent to eclipse's F7 bounce function
F7 equivalent to eclipse's F5 is entering into the code
Alt+shift+f7 This is mandatory entry code
CTRL+SHIFT+F9 Debug Run Java class
CTRL+SHIFT+F10 Normal running Java class
Command+f2 Stop Running
Ctrl+k: Submit SVN
To manually add the V7 package:
Mouse on the project directory right-openmodulesetting-dependenices click the plus sign
In addition to the app security vulnerability detection is generally used in love Beta (www.ineice.com) online detection, recommend you can go to see Ah!
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Androidstudio development tool shortcut key finishing and sharing