Android Studio

Refactoring

Extract method

Ctrl + Alt + M

All hotkeys for Android Studio

General
Save all

Ctrl + S

General
Synchronize

Ctrl + Alt + Y

General
Maximize/minimize editor

Ctrl + ↑   Shift + F12

General
Add to favorites

Alt + ↑   Shift + F

General
Inspect current file with current profile

Alt + ↑   Shift + I

General
(backquote) Quick switch scheme

Ctrl + `

General
Open settings dialogue

Ctrl + Alt + S

General
Open project structure dialog

Ctrl + Alt + ↑   Shift + S

General
Switch between tabs and tool window

Ctrl + ⭾ Tab

Navigating and searching
Find

Ctrl + F

Navigating and searching
Find next

F3

Navigating and searching
Find previous

↑   Shift + F3

Navigating and searching
Replace

Ctrl + R

Navigating and searching
Find action

Ctrl + ↑   Shift + A

Navigating and searching
Search by symbol name

Ctrl + Alt + ↑   Shift + N

Navigating and searching
Find class

Ctrl + N

Navigating and searching
Find file (instead of class)

Ctrl + ↑   Shift + N

Navigating and searching
Find in path

Ctrl + ↑   Shift + F

Navigating and searching
Open file structure pop-up

Ctrl + F12

Navigating and searching
Navigate between open editor tabs

Alt + ←  →

Navigating and searching
Jump to source

F4

Writing code
Smart line split

Ctrl + ⤶ Enter

Navigating and searching
Open current editor tab in new window

↑   Shift + F4

Navigating and searching
Recently opened files pop-up

Ctrl + E

Navigating and searching
Recently edited files pop-up

Ctrl + ↑   Shift + E

Navigating and searching
Go to last edit location

Ctrl + ↑   Shift + ⬅ Backspace

Navigating and searching
Close active editor tab

Ctrl + F4

Navigating and searching
Return to editor window from a tool window

Esc

Navigating and searching
Hide active or last active tool window

↑   Shift + Esc

Navigating and searching
Go to line

Ctrl + G

Navigating and searching
Open type hierarchy

Ctrl + H

Navigating and searching
Open method hierarchy

Ctrl + ↑   Shift + H

Navigating and searching
Open call hierarchy

Ctrl + Alt + H

Writing code
Generate code (getters, setters, constructors, hashCode/equals, toString, new file, new class)

Alt + Insert

Writing code
Override methods

Ctrl + O

Writing code
Implement methods

Ctrl + I

Writing code
Surround with (if...else / try...catch / etc.)

Ctrl + Alt + T

Writing code
Delete line at caret

Ctrl + Y

Writing code
Collapse/expand current code block

Ctrl + -

Writing code
Collapse/expand current code block

Ctrl + +

Writing code
Collapse/expand all code blocks

Ctrl + ↑   Shift + -

Writing code
Collapse/expand all code blocks

Ctrl + ↑   Shift + +

Writing code
Duplicate current line or selection

Ctrl + D

Writing code
Basic code completion

Ctrl + Space

Writing code
Smart code completion (filters the list of methods and variables by expected type)

Ctrl + ↑   Shift + Space

Writing code
Complete statement

Ctrl + ↑   Shift + ⤶ Enter

Writing code
Quick documentation lookup

Ctrl + Q

Writing code
Show parameters for selected method

Ctrl + P

Writing code
Go to declaration (directly)

Ctrl + B

Writing code
Go to declaration (directly)

Ctrl + Mouse left click

Writing code
Go to implementations

Ctrl + Alt + B

Writing code
Go to super-method/super-class

Ctrl + U

Writing code
Open quick definition lookup

Ctrl + ↑   Shift + I

Writing code
Toggle project tool window visibility

Alt + 1

Writing code
Toggle bookmark

F11

Writing code
Toggle bookmark with mnemonic

Ctrl + F11

Writing code
Comment/uncomment with line comment

Ctrl + /

Writing code
Comment/uncomment with block comment

Ctrl + ↑   Shift + /

Writing code
Select successively increasing code blocks

Ctrl + W

Writing code
Move to code block start

Ctrl + [

Writing code
Move to code block end

Ctrl + ]

Writing code
Select to the code block start

Ctrl + ↑   Shift + [

Writing code
Select to the code block end

Ctrl + ↑   Shift + ]

Writing code
Delete to end of word

Ctrl + Del

Writing code
Delete to start of word

Ctrl + ⬅ Backspace

Writing code
Optimize imports

Ctrl + Alt + O

Writing code
Project quick fix (show intention actions and quick fixes)

Alt + ⤶ Enter

Writing code
Reformat code

Ctrl + Alt + L

Writing code
Auto-indent lines

Ctrl + Alt + I

Writing code
Indent/unindent lines

⭾ Tab

Writing code
Indent/unindent lines

↑   Shift + ⭾ Tab

Writing code
Smart line join

Ctrl + ↑   Shift + J

Writing code
Start new line

↑   Shift + ⤶ Enter

Writing code
Next/previous highlighted error

F2

Writing code
Next/previous highlighted error

↑   Shift + F2

Build and run
Build

Ctrl + F9

Build and run
Build and run

↑   Shift + F10

Build and run
Apply changes

Ctrl + F10

Debugging
Debug

↑   Shift + F9

Debugging
Step over

F8

Debugging
Step into

F7

Debugging
Smart step into

↑   Shift + F7

Debugging
Step out

↑   Shift + F8

Debugging
Run to cursor

Alt + F9

Debugging
Evaluate expression

Alt + F8

Debugging
Resume program

F9

Debugging
Toggle breakpoint

Ctrl + F8

Debugging
View breakpoints

Ctrl + ↑   Shift + F8

Refactoring
Copy

F5

Refactoring
Move

F6

Refactoring
Safe delete

Alt + Del

Refactoring
Rename

↑   Shift + F6

Refactoring
Change signature

Ctrl + F6

Refactoring
Inline

Ctrl + Alt + N

Refactoring
Extract method

Ctrl + Alt + M

Refactoring
Extract variable

Ctrl + Alt + V

Refactoring
Extract field

Ctrl + Alt + F

Refactoring
Extract constant

Ctrl + Alt + C

Refactoring
Extract parameter

Ctrl + Alt + P

Version Control / Local History
Commit project to VCS

Ctrl + K

Version Control / Local History
Update project from VCS

Ctrl + T

Version Control / Local History
View recent changes

Alt + ↑   Shift + C

Version Control / Local History
(backquote) Open VCS popup

Alt + `

Similar combinations for other applications


Microsoft Outlook 2010 (Windows)
Mark for Download
Messages in Main View - Message List and Single Messages

Ctrl + Alt + M


Thunderbird (Windows)
Move to previous folder
Mark, Delete and Move Message

Ctrl + Alt + M


Microsoft OneNote 2010 (Windows)
Move or copy the current page.
Managing Pages, Notebooks and Sections

ctrl + alt + m


Thunderbird (Linux)
Move to previous folder
Mark, Delete and Move Message

Ctrl + Alt + M


Microsoft Outlook 2010 (Windows)
Mark for Download
Messages in Compose View - Message List and Single Messages

Ctrl + Alt + M


Google Docs (Windows)
Insert comment
Comment View

Ctrl + Alt + M


Microsoft Outlook 2010 (Windows)
Mark for Download
Calendar Shortcuts - Message List and Single Messages

Ctrl + Alt + M


MyLifeOrganized (Windows)
Toggles Manual sort on and off
Managing Tasks

Ctrl + Alt + M


Oracle SQL Developer 4 (Windows)
Maximize Toggle
Navigate

Ctrl + Alt + M


IntelliJ (Linux)
Extract Method
Editing

Ctrl + Alt + M


IntelliJ (Windows)
Extract Method
Editing

Ctrl + Alt + M


Pro Tools (Windows)
Narrow mix
View Menu

Ctrl + Alt + M


Comsol 5 (Windows)
Go to Model Builder
Model Tree

Ctrl + Alt + M


Comsol 5 (Linux)
Go to Model Builder
Model Tree

Ctrl + Alt + M


Amazon Music Player (Windows)
Switch to Mini Player
13 Shortcuts for Amazon Music Player (Windows)

Ctrl + Alt + M


Atom (text editor) 1.0 (Linux)
Select code inside matching brackets
Editing Words and Brackets

Ctrl + Alt + m


Atom (text editor) 1.0 (Windows)
Select code inside matching brackets
Editing Words and Brackets

Ctrl + Alt + M


Microsoft OneNote 2016 (Windows)
Move or copy current page
Manage Pages, Notebooks and Sections

Ctrl + Alt + M


Microsoft Outlook 2016 (Windows)
Mark for Download
Mail

Ctrl + Alt + M


Adobe Premiere CC (Windows)
Clear current marker
Marker Operation

Ctrl + Alt + M


InDesign CC (Windows)
Drop Shadow
Object Menu shortcuts

Ctrl + Alt + M


Zoho Writer (Windows)
To Create Comment
Format Tab

Ctrl + Alt + M


CyberLink PhotoDirector 8 (Windows)
Toggle mirror mode on/off
Workspace

Ctrl + Alt + M


JetBrains RubyMine (Windows)
Extract Method
Refactoring

Ctrl + Alt + M


JetBrains RubyMine (Linux)
Extract Method
Refactoring

Ctrl + Alt + M


JetBrains PyCharm (Windows)
Extract Method
Refactoring

Ctrl + Alt + M


Daz 3D Bryce 7 (Windows)
Edit 2D Pictures
Object

Ctrl + Alt + M


JetBrains PhpStorm (Windows)
Extract Method
Refactoring

Ctrl + Alt + M


Adobe Dreamweaver (Windows)
Merge Cells
Table

Ctrl + Alt + M


JetBrains PhpStorm (Linux)
Extract Method
Refactoring

Ctrl + Alt + M


Daz 3D Bryce 7 (Windows)
Picture Library
Palettes and Labs

Ctrl + Alt + M


Microsoft Teams (Windows)
Mute/Unmute Audio
Calling Shortcuts

Ctrl + Alt + M


Adobe ColdFusion Builder 2.0 (Windows)
Jump to Matching Tag
Navigation Shortcuts

Ctrl + Alt + M


Adobe Captivate 2017 (Windows)
Insert master slide
General and Miscellaneous Shortcuts

Ctrl + Alt + M


MediaMonkey (Windows)
Switch to Party Mode (toggle)
Standard Keyboard Shortcuts

Ctrl + Alt + M


DITA CMS (Windows)
Create Map
22 Shortcuts for DITA CMS (Windows)

Ctrl + Alt + M


VideoPad Video Editor (Windows)
Minimize all
Window

Ctrl + Alt + M


XYplorer (Windows)
Select by Selected Type(s)
General Shortcuts

Ctrl + Alt + M


Jetbrains CLion (Windows)
Extract Function
Refactoring

Ctrl + Alt + M


Siemens NX 11 (Windows)
Manufaturing
Application Menu

Ctrl + Alt + M


Pencil2D (Windows)
Export Movie
57 Shortcuts for Pencil2D (Windows)

Ctrl + Alt + M


MPS 2017 (Windows)
Turn the selected code fragment into a method
Refactoring

Ctrl + Alt + M


Delphi 10 (Windows)
Invoke Modules window
193 Shortcuts for Delphi 10 (Windows)

Ctrl + Alt + M


Sierra Chart (Windows)
Manage Chart Drawing Window
Tools Menu

Ctrl + Alt + M


Surfcam (Windows)
Toggle Mask ON and OFF
60 Shortcuts for Surfcam (Windows)

Ctrl + Alt + M


TurboCAD (Windows)
Switch to Model Space
171 Shortcuts for TurboCAD (Windows)

Ctrl + Alt + M


RStudio (Windows)
Commit changes
Git / SVN

Ctrl + Alt + M


Xyplorer
Select By Selected Type(s)
Edit Menu

Ctrl + Alt + M


Dropbox Paper
Add a comment
Editing

Ctrl + Alt + M


ChessBase 13
Enter training commentary
Board window

Ctrl + Alt + M


Ableton Live 9 (Windows)
Hide/Show Mixer
Showing and Hiding Results

Ctrl + Alt + M


Wordfast Pro (Windows)
Retrieve Selected Segment
100 Shortcuts for Wordfast Pro (Windows)

Ctrl + Alt + M


Vectorworks (Windows)
Move 3D
Modify Menu

Ctrl + Alt + M


Banner 9 (Windows, Mac)
Close Menu
Mac shortcuts

Ctrl + Alt + M


AVS Video Editor (Windows)
Mute
Preview Area

Ctrl + Alt + M


RStudio
Commit changes
Git / SVN

Ctrl + Alt + M


Ableton Live 10
Hide/Show Mixer
Showing and hiding views

Ctrl + Alt + M


SAP NetWeaver Business Client 5.0 for Desktop
Focus on Menu
General

Ctrl + Alt + M


Siemens NX
Manufacturing
Application menu

Ctrl + Alt + M


Zendesk Support
Open macro box
Tickets

Ctrl + Alt + M


PyCharm 2018.2
Turn the selected code fragment into a method.
Refactoring

Ctrl + Alt + M


Gravit Designer
Nested compound
Modify

Ctrl + Alt + M


PaintShop Pro 2018
Magnifier
Shortcuts with Ctrl + Alt

Ctrl + Alt + M


Adobe Premiere Pro (Windows)
Clear Current Marker
Marker

Ctrl + Alt + M


IntelliJ IDEA (Windows, Linux)
Extract method
Refactoring

Ctrl + Alt + M


Google Sheets (Android)
Insert/edit comment
Editing notes and comments

Ctrl + Alt + M


Google Sheets
Insert/edit comment
Edit notes and comments

Ctrl + Alt + M


REAPER
View: Toggle master track visible
Section: Main

Ctrl + Alt + M


Delphi
Invoke Modules window
General

Ctrl + Alt + M


MediaMonkey
Switch to party mode (toggle)
General

Ctrl + Alt + M


Outlook 2016 and Outlook 2013
Mark for download
Mail

Ctrl + Alt + M


Microsoft OneNote
Move or copy the current page
Work with notebooks and sections

Ctrl + Alt + M


Microsoft Edge
Copy selected content into a web note
Newer shortcuts

Ctrl + Alt + M


Opera
Manage e-mail
Manager pages

Ctrl + Alt + M


Microsoft Outlook 2007 (Windows)
Mark for Download.
Shortcuts for Managing E-Mail

Ctrl + Alt + M


Figma
Use a mask
Transform

Ctrl + Alt + M