here, self-organized in the use of Some of the shortcut keys used by the Androidstudio development tools, as well as saving time in the development process, may be used by most developers before the Eclipse development tools may start to get used to, 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 < you need to set it yourself:settings--> Click keymap--> in the upper right-hand corner to search for other ( Fixdoc comment)-- See Fix doccomment right mouse button Select first, in 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
also for APP Security vulnerability detection is generally used in love Test (www.ineice.com) online detection, recommend you can go to see Ah!
Androidstudio development tool shortcut key finishing and sharing