Androidstudio Development Tools shortcut keys

Source: Internet
Author: User

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 (fix doc comment)-see fix Doc Comment right mouse button Select First, enter alt+shift+k in input box

Create class Comment Template: Setting-->editor-->file and 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

Date:2015-08-16

Androidstudio Development Tools shortcut keys

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.