Skip to content
Android Studio icon

Android Studio shortcuts for Mac

123 shortcuts · 10 categories

Android Studio is an integrated development environment (IDE) for Android app development that includes tools for designing, testing, and debugging apps. Download Android Studio

Hover a shortcut to add it to Pie Menu

Mac keyboard shortcuts for Android Studio

Version control / local history

Refactoring

Debugging

Build and run

  • Apply Code Changes⌃ (control) + ⇧ (shift) + ⌘ (command) + r Add →
  • Apply Changes and Restart Activity⌃ (control) + ⌘ (command) + r Add →
  • Build and run⌃ (control) + r Add →
  • Build⌘ (command) + f9 Add →

Writing code

  • Next/previous highlighted errorf2 Add →
  • Start new line⇧ (shift) + ↵ Add →
  • Smart line split⌘ (command) + ↵ Add →
  • Smart line join⌃ (control) + ⇧ (shift) + j Add →
  • Indent/unindent lines⇥ Add →
  • Auto-indent lines⌃ (control) + ⌥ (option) + i Add →
  • Reformat code⌥ (option) + ⌘ (command) + l Add →
  • Project quick fix (show intention actions and quick fixes)⌥ (option) + ↵ Add →
  • Optimize imports⌃ (control) + ⌥ (option) + o Add →
  • Delete to start of word⌥ (option) + ⌫ Add →
  • Delete to end of word⌥ (option) + ⌫ Add →
  • Select to the code block end⌥ (option) + ⇧ (shift) + ⌘ (command) + ] Add →
  • Select to the code block start⌥ (option) + ⇧ (shift) + ⌘ (command) + [ Add →
  • Move to code block end⌥ (option) + ⌘ (command) + ] Add →
  • Move to code block start⌥ (option) + ⌘ (command) + [ Add →
  • Decrease current selection to previous state⌥ (option) + ↓ Add →
  • Select successively increasing code blocks⌥ (option) + ↑ Add →
  • Comment/uncomment with block comment⇧ (shift) + ⌘ (command) + / Add →
  • Comment/uncomment with line comment⌘ (command) + / Add →
  • Toggle bookmark with mnemonic⌥ (option) + f3 Add →
  • Toggle bookmarkf3 Add →
  • Toggle project tool window visibility⌘ (command) + 1 Add →
  • Open quick definition lookup⌘ (command) + y Add →
  • Go to super-method/super-class⌘ (command) + u Add →
  • Go to implementations⌥ (option) + ⌘ (command) + b Add →
  • Go to declaration (directly)⌘ (command) + b Add →
  • Show parameters for selected method⌘ (command) + p Add →
  • Quick documentation lookup⌃ (control) + j Add →
  • Complete statement⇧ (shift) + ⌘ (command) + ↵ Add →
  • Smart code completion (filters the list of methods and variables by expected type)⌃ (control) + ⇧ (shift) + space Add →
  • Basic code completion⌃ (control) + space Add →
  • Duplicate current line or selection⌘ (command) + d Add →
  • Collapse/expand all code blocks⇧ (shift) + ⌘ (command) + - Add →
  • Collapse/expand current code block⌘ (command) + - Add →
  • Delete line at caret⌘ (command) + ⌫ Add →
  • Surround with (if...else / try...catch / etc.)⌥ (option) + ⌘ (command) + t Add →
  • Implement methods⌃ (control) + i Add →
  • Override methods⌃ (control) + o Add →
  • Generate code (getters, setters, constructors, hashCode/equals, toString, new file, new class)⌘ (command) + n Add →

Design tools: Navigation Editor

Design tools: Layout Editor

Viewing layouts

Navigating and searching

General

  • Switch between tabs and tool window⌃ (control) + ⇥ Add →
  • Open project structure dialog⌘ (command) + ; Add →
  • Open settings dialogue⌘ (command) + , Add →
  • Quick switch scheme⌃ (control) + ` Add →
  • Inspect current file with current profile⌥ (option) + ⇧ (shift) + i Add →
  • Add to favorites⌥ (option) + ⇧ (shift) + f Add →
  • Maximize/minimize editor⌃ (control) + ⌘ (command) + f12 Add →
  • Synchronize⌥ (option) + ⌘ (command) + y Add →
  • Save all⌘ (command) + s Add →

Download Keyboard Cheat Sheet for Android Studio for Mac

Do you want all keyboard shortcuts for Android Studio in one pdf?

Cheat sheet

Community shortcuts for Android Studio

Be the first to share — open Pie Menu → Android Studio → Share Config

View community page →
Pie Menu

Get started with Pie Menu today.

The convenience of shortcuts without the memorization!