Some shortcut keys for Android Studio

Source: Internet
Author: User

Here are some of the other people in Baidu to organize. A new one will be added in the back.

As shortcut keys and QQ, and other conflicts, you can manually turn off or modify other software hotkeys

CTRL+G/CTRL+ALT+SHIFT+G: The query variable or function or class where is used or called, the latter is the former complex performance, you can choose the scope of the query and so on.

Alt+h: Find function, global find

F4: Viewing class inheritance Relationships

F2: View document description (function usage instructions)

Ctrl+e: View recently opened files

Ctrl+shift+e: View recently edited files

Double Shift: Global lookup, this view and alt+h slightly different, this is the global file lookup, to the file name level.

Ctrl+shift+r: Quickly navigate to the file you want to open.

Ctrl+k: When a variable is selected, quickly navigate to the next place where the variable is used (although there are still some bugs in this shortcut

Alt+↑: The line of code where the cursor is located moves upwards

Alt+↓: The line of code where the cursor is located moves down

Ctrl+d: Delete the line of code where the cursor is located

Ctrl+x: The line of code where the cursor is clipped

ALT+SHIFT+↓/CTRL+C: Copy cursor line code to next line

Ctrl+o: Quick Find functions in the current class, variables

Ctrl+shift+r: Modify Name

Alt+enter: Importing Packages

alt+←: Back, go to the last view or edit location

alt+→: Move forward, for example, after you locate the last point, want to go back, you can use this shortcut key

ctrl+/: When line comment, counter-comment press once again

ctrl+shift+/: module comments, counter-comment and then press once, note that this "/" can not use the keypad

ctrl+shift+ keypad/: Folding Code (ctrl+shift+ small keyboard * This is not the spirit, today is not free, the latter will be addressed to solve this problem, and update up), of course, the notebook does not have a small keyboard, you can change the shortcut key

Ctrl+alt+s: Open Settings interface

Ctrl+alt+shift+s: Open the Project Structure interface

Alt+shift+x: Running (run)

Alt+shift+d: Debug Run (Debug)

CTRL+F9: Compiling the project

Ctrl+shift+k:push file to server (git)

Debug class shortcut keys

F5: But does not debug into the inside of the function.

F7: The call is returned from within the function.

F8: Executes to the next breakpoint, and execution completes without a breakpoint.

Some shortcut keys for Android Studio

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.