Shortcut Keys for Android Studio

Source: Internet
Author: User

Shortcut Keys for Android Studio

Action Mac OS X Win/Linux
Code annotation (//) Cmd +/ Ctrl +/
Code annotation (/**/) Cmd + Option +/ Ctrl + Shift +/
Format code Cmd + Option + L Ctrl + Alt + L
Clear invalid package reference Option + Control + O Alt + Ctrl + O
Search Cmd + F Ctrl + F
Search + replace Cmd + R Ctrl + R
Move code up/down Option + Shift + Up/Down Alt + Shift + Up/Down
Delete row Cmd + Delete Ctrl + Y
Expand and narrow the selected range Option + Up/Down Ctrl + W/Ctrl + Shift + W
Quickly generate struct Cmd + Option + T Ctrl + Alt + T
Quick overwriting Method Cmd + O Ctrl + O
Quickly locate the beginning/end of a row Cmd + Left/Right Ctrl + Left/Right
Collapse and expand code blocks Cmd + Plus, Minus Ctrl + Plus/Minus
Collapse and expand all code blocks Cmd + Shift + Plus, Minus Ctrl + Shift + Plus, Minus
File method Structure Cmd + F12 Ctrl + F12
Locate the call location Ctrl + Option + H Ctrl + Alt + H
Case-sensitive Conversion Cmd + Shift + U Ctrl + Shift + U

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.