Skip to content

Instantly share code, notes, and snippets.

@erikcox
Last active August 26, 2015 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikcox/e207be92ad8e724382d9 to your computer and use it in GitHub Desktop.
Save erikcox/e207be92ad8e724382d9 to your computer and use it in GitHub Desktop.

Android Studio Shortcuts OSX

OSX key icons

Control

Option

Command

Shift

Caps Lock

Android Studio specific

Find Action ⇧+⌘+A

Scoped Selection Alt+↑ or ↓

Go to Class ⌘+O

Go to File ⌘+⇧+O

Go to Definition ⌘+B

Back / Forward ⌘+[ or ]

Code Editor Tab Nav ⌘+Alt+← or →

File Switcher Ctrl+Tab

Find Usages Alt+F7

Find ⌘+F

Replace ⌘+R

Find in Path ⌘+⇧+F

Replace in Path ⌘+⇧+R

Go to Line Cmd + L

Reformat Code Alt + Cmd + L

Run/Debug Ctrl + R or D

Hiding Panels Make sure the panel is active, then press Shift + Esc

Highlight All the Things cmd+shift+f7

Move Between Methods and Inner Classes ctrl+up/down

The File Structure Popup cmd+f12

The Call Hierarchy Popup ctrl+alt+h

Quick Definition Lookup alt+space

Collapse Expand Code Block alt+plus/minus

Find Actions cmd+shift+a

Move Lines Up/Down alt+shift+up/down

Delete Line cmd+backspace

Duplicate Lines cmd+d

Expand/Shrink Selection alt+up/down

Surround with cmd+alt+t

Recents cmd+e

Live Templates cmd+j

Move Methods cmd+alt+up/down

Complete Statement cmd+shift+enter

Last Edit Location cmd+shift+backspace

Join Lines and Literals ctrl+shift+j

Select In alt+f1

Unwrap/Remove cmd+shift+delete

Inspect Variable Alt+LeftClick on an expression

Analyze Data flow to Here: Find action: Analyze Data Flow to Here

Sublime Text Multi Selection Ctrl+G

Column Selection Cmd+Shift+8 or Mouse: Alt+Mouse Drag

VCS Operations Popup Ctrl+V

Navigate to parent Cmd+U

Context Info Ctrl+Shift+Q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment