Skip to the main content

Android Studio keyboard shortcuts

Code completion, navigation, refactoring, and debugging in Google's Android IDE.

94 shortcuts Mac and Windows checked September 14, 2026

Print all 94 shortcuts One sheet with every shortcut in this app, ready for the printer or a PDF.

Matching shortcuts
Action Keys Row actions
Go to the last edit location Editor Mac CmdShiftDelete 1 more variant Source
Close the active editor tab Editor Mac CmdW 1 more variant Source
Hide the active tool window Tool window focused Mac ShiftEsc 1 more variant Source
Go to a line Editor Mac CmdL 1 more variant Source
Open the type hierarchy Editor Mac CtrlH 1 more variant Source
Open the method hierarchy Editor Mac CmdShiftH 1 more variant Source
Open the call hierarchy Editor Mac CtrlOptionH 1 more variant Source
Generate code such as getters or constructors Editor Mac CmdN 1 more variant Source
Override methods Editor Mac CtrlO 1 more variant Source
Implement methods Editor Mac CtrlI 1 more variant Source
Surround the code with a block Editor Mac CmdOptionT 1 more variant Source
Delete the line at the caret Editor Mac CmdDelete 1 more variant Source
Duplicate the line or selection Editor Mac CmdD 1 more variant Source
Look up quick documentation Editor Mac CtrlJ 1 more variant Source
Show parameters for the method Editor Mac CmdP 1 more variant Source
Go to the declaration Editor Mac CmdB 1 more variant Source
Go to the implementations Editor Mac CmdOptionB 1 more variant Source
Go to the super method or class Editor Mac CmdU 1 more variant Source
Open a quick definition lookup Editor Mac CmdY 1 more variant Source
Set or clear a bookmark Editor Mac F3 1 more variant Source
Set a bookmark with a mnemonic Editor Mac OptionF3 1 more variant Source
Comment lines with line comments Editor Mac Cmd/ 1 more variant Source
Comment code with a block comment Editor Mac CmdShift/ 1 more variant Source
Grow the selection to larger blocks Editor Mac OptionUp arrow 1 more variant Source
Shrink the selection back a step Editor Mac OptionDown arrow 1 more variant Source
Optimize the imports Editor Mac CtrlOptionO 1 more variant Source
Show quick fixes and intention actions Editor Mac OptionEnter 1 more variant Source
Reformat the code Editor Mac CmdOptionL 1 more variant Source
Auto indent the lines Editor Mac CtrlOptionI 1 more variant Source
Join lines smartly Editor Mac CtrlShiftJ 1 more variant Source

About Android Studio and its shortcuts

Android Studio is IntelliJ underneath, with an Android layer on top, so its shortcuts come from two places: the editor and navigation commands of a JetBrains IDE, and the build, emulator and layout tools added for Android work. Anyone arriving from another JetBrains product already knows most of the first group.

Keymaps are switchable, and the Mac keymap is not a translation of the Windows one. Plugins add bindings, and some commands only exist while a device or emulator is connected.

Where the Android Studio keys came from

Read from 1 documentation page published by the makers of Android Studio. Report a key that is wrong

To see how one action is done in other apps as well as Android Studio, browse the shortcuts by task. Shortcuts by task