Shortcut keys
C–> Ctrl
S–> Shift
M–> Alt
Cmd–> Command
Navigating and jumping
| function |
shortcut keys for win |
shortcut keys for Mac |
| Find Action |
C-s-a |
Cmd-s-a |
| Recently Used files |
C-e |
Cmd-e |
| Outline |
C-f12 |
Cmd-f12 |
| Navigate to navigation Bar |
M-home |
Cmd-up |
| Quickly open class definitions |
C-n |
Cmd-n |
| Jump to a specified symbol |
C-s-m-n |
Cmd-s-m-n |
| Quickly open files |
C-s-n |
Cmd-s-o |
| In... Select the current file in the |
M-f1 |
M-f1 |
| Recently edited files |
C-s-e |
Cmd-s-e |
| The variable class definition where the cursor is opened |
C-s-b |
Cmd-s-b |
| Jump to variable/function/class definition |
c-b/left mouse button |
cmd-b/left mouse button/down |
| Navigation Back/forward |
C-m-left/right |
Cmd-[/] |
| Super Method |
C-u |
Cmd-u |
| Implementations |
C-m-b |
Cmd-m-b |
| Method Hierarchy |
C-s-h |
Cmd-s-h |
| Type Hierarchy |
H |
H |
| Call Hierarchy |
C-m-h |
C-m-h |
| Find Usages |
M-f7 |
M-f7 |
| Show Usages |
C-m-f7 |
Cmd-m-f7 |
| Search Everywhere |
Double-click S |
Double-click S |
| Search text |
C-s-f |
Cmd-s-f |
| Open the directory where the file is located |
M-F1 8 |
M-F1 8 |
| Open settings |
C-m-s |
cmd-, |
Switch to the specified tool window
| function |
shortcut keys for win |
shortcut keys for Mac |
| Project |
M-1 |
Cmd-1 |
| Terminal |
M-f12 |
M-f12 |
| Editor |
Esc |
Esc |
Edit
| function |
shortcut keys for win |
shortcut keys for Mac |
| Comment/Uncomment (//) |
c-/ |
cmd-/ |
| Comment/Uncomment (/**/) |
c-s-/ |
c-s-/ |
| Formatting code |
C-m-l |
Cmd-m-l |
| Smart Import |
C-m-o |
C-m-o |
| Undo |
C-z |
Cmd-z |
| Redo |
C-s-z |
Cmd-s-z |
| Delete Row |
C-y |
Cmd-x |
| Copy rows |
C-c |
Cmd-c |
| Copy the current line to the next line |
C-d |
Cmd-d |
| In another line below |
S-enter |
S-enter |
| On the other line above |
C-m-enter |
Cmd-m-enter |
| Move code lines up/down |
M-s-up/down |
M-s-up/down |
| Up/Next Reference |
C-m-up/down |
Cmd-m-up/down |
| Close a floating window |
S-esc |
S-esc |
| Out |
F8 |
F8 |
| Entered |
F7 |
F7 |
| Continue execution |
F9 |
Cmd-m-r |
| Execute until return |
S-f8 |
S-f8 |
| Execute to Cursor |
M-f9 |
M-f9 |
| Running the current app |
S-f10 |
C-r |
| Debugging the current app |
S-f9 |
C-d |
| Open/Close Breakpoint |
c-f8/left mouse button |
Cmd-f8 |
| View All Breakpoints |
C-s-f8 |
Cmd-s-f8 |
| Automatically generated |
M-insert |
Cmd-n |
| Hide Bottom View |
S-esc |
S-esc |
| Delete a word |
C-backspace |
M-delete |
| Refactoring-Renaming |
S-f6 |
S-f6 |
Note:
- In Windows format code CTRL+ALT+L and QQ Lock hotkey conflict, I go to QQ settings deleted QQ Lock hotkey.
- Open Settings under Windows ctrl+alt+s with QQ open message box hotkey conflict, I deleted the hotkey in QQ.
Android Studio shortcut keys