The most complete Android Studio Shortcuts (pro-Test available)

Source: Internet
Author: User

Action Mac OSX Win/linux
Comment Code (//) CMD +/ Ctrl +/
Comment Code (/**/) CMD + Option +/ Ctrl + Alt +/
Formatting code CMD + Option + L Ctrl + Alt + L
Clear Invalid Package reference Option + Control + O Alt + Ctrl + O
Find CMD + F Ctrl + F
Find + Replace CMD + R Ctrl + R
Move code up and down Option + Shift + up/down Alt + Shift + up/down
Delete Row CMD + Delete Ctrl + Y
Expand Narrow Selection Option + Up/down Ctrl + W/ctrl + Shift + W
Quick Build Structure CMD + Option + T Ctrl + Alt + T
Quick Overwrite Method Ctrl + O Ctrl + O
Quick position to beginning/end CMD + left/right Ctrl + left/right
Collapse Unwind code block CMD + Plus,minus Ctrl + Plus/minus
Collapse Expand all code blocks CMD + Shift + plus,minus Ctrl + Shift + plus,minus
File method Structure CMD + F12 Ctrl + F12
Find the location of the call Ctrl + Option + H Ctrl + Alt + H
Uppercase and lowercase conversions CMD + Shift + U Ctrl + Shift + U
Code highlighting Shift + CMD + F7 Alt + J
Code highlighting up Search Shift + CMD + G Shift + F3
Code highlighting down search CMD + G F3
Find the location of the call Ctrl + Alt + H Ctrl + Alt + H
Quick Find Definition CMD + Space Ctrl + Shift + I
Collapse Unwind code block CMD + Plus,minus Ctrl + Shift + plus/minus
Collapse Expand all code blocks CMD + Shift + plus,minus
Add Bookmark F3 F11
Add Bookmark ID Alt + F3 Ctrl + F11
Show bookmarks CMD + F3 Shift + F11
Find an action CMD + Shift + A Ctrl + Shift + A
Move code up and down Alt + Shift + up/down Alt + Shift + up/down
Delete Row CMD + Delete Ctrl + Y
Quickly copy rows down CMD + D Ctrl + D
Expand Narrow Selection Alt + Up/down Ctrl + W/ctrl + Shift + W
Quick Build Structure CMD + Alt + T Ctrl + Alt + T
Quick Overwrite Method Ctrl + O
Quick position to beginning/end CMD + left/right
Generate code by template CMD + J Ctrl + J
Comment Code (//) CMD +/
Comment Code (/**/) CMD + Alt +/
Formatting code CMD + Alt + L
Quick Selection Alt + F1 Alt + F1
Quick Move Ctrl + Up/down
Quick rewind to end of line Ctrl + Shift + J Ctrl + Shift + J
Shortcut recently opened CMD + E Ctrl + E
Clear Invalid References Alt + Control + O Alt + Control + O
Code completion CMD + Shift + Enter Ctrl + Shift + Enter
Prompt for error resolution Alt + Enter Alt + Enter
Hint parameter type CMD + P Ctrl + P
Find + Replace CMD + R Ctrl + R
Find CMD + F Ctrl + F
Show Docs for selected API F1 CTRL + Q
Show parameters for selected method CTRL + P CTRL + P
Generate method CMD + N ALT + Insert
Jump to Source CMD + Down-arrow F4
Search by symbol name OPTION + CMD + O CTRL + ALT + SHIFT + N
Build CMD + F9 CTRL + F9
Build and run CTRL + R SHIFT + F10
Toggle Project Visibility CMD + 1 ALT + 1
Navigate Open Tabs CTRL + Left-arrow; CTRL + Right-arrow ALT + Left-arrow; ALT + Right-arrow
Open class Cmd+o CTRL + N
Open file Cmd+shift+o Ctrl+shift+n
Open Symbol Cmd+alt+o Ctrl+shift+alt+n
Recent Files opened Cmd+e Ctrl+e
Recently edited files Cmd+shift+e Ctrl+shift+e
Last edited location Cmd+shift+backspace Ctrl+shift+backspace
Go to Declaration Cmd+b Ctrl+b
Go to Super Cmd+y Ctrl+u

The most complete Android Studio Shortcuts (pro-Test available)

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.