Common shortcut keys for Android Studio

Source: Internet
Author: User

shortcut keys for inheriting Eclipse : File->settings->keymap-> has a keymaps drop-down menu, select Eclipse.

Here are some of the key shortcuts used:

Ctrl + G/ctrl + Alt + Shift +g : Query variables or functions or classes where they are used or called, which is the complex representation of the former

Can choose the scope of the query, etc.;

Alt + H/ctrl + F: Find function, global lookup.

F4 : Querying Inheritance Relationships

F2 : View document description (function usage instructions)

Ctrl + E : View recently opened files

Ctrl + Shift + E : View recently edited files

Ctrl + Shift + R: Quickly lock 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 (there is a bug that expires after inheriting Eclipse's shortcut )

ALT +↑: Which line of code moves up the cursor position

ALT +↓: Which line of code moves down the cursor position

Ctrl + D: Remove the line of code where the cursor is located

Ctrl + X: Cut where the cursor is located line of code

Alt + Shift + ↑: Gets the line of code in which the cursor is located all focus

Ctrl + C: Copy all focus code, general and Alt + Shift + ↑ Use together

Ctrl + O: Quick query functions, variables in the current class

Alt + Shift + R: Select the file you want to modify, and modify the name.

Ctrl + Shift + R: Quick Find what you need to file

ALT + Enter: Import Package

Alt +←: Back, navigate to the last view or edit place

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

Ctrl +/: When the comments are good, counter-comments can be pressed again

Ctrl + Shift +/: module comment, counter-comment and press once, Note: cannot use keypad "/"

Ctrl + Shift + numpad/: Collapse code

Ctrl + Alt + S: Open the Settings interface

Ctrl + Alt + Shift + S: Open Project Structure interface

Alt + Shift + X: Run

Alt + Shift + D: Debug mode

Ctrl + F9: Compiling the project

Ctrl +shift + K: Soft keyboard appears \push file to server (git)

Debug class shortcut keys:

F5: But does not debug into the function interior

F6: But does not debug does not enter function interior

F7: returned by function inside the call

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

Common 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.