Back

Development Commands

Marco Montoya
Marco Montoya August 10, 2025
Development Commands

Table of Contents

  1. 1 - Development Commands Worthy of a Sticky Note
  2. 2 - Android Studio Shortcuts

Development Commands Worthy of a Sticky Note

There are commands you use once… and then forget.
And there are others you use so often they deserve to be stuck to your monitor, written with a marker, like a dev survival reminder.

This post is for that. To store those shortcuts, console commands, and tricks that might seem simple but can save hours.
Commands that range from the most basic to the ones you only learned after an existential crisis in front of the keyboard.

And as any good dev with a volatile memory, it’s better to have them here than leave them to the randomness of your subconscious.

💡 This list will grow over time. Bookmark this post or add it to your favorites — you’ll be coming back.

Android Studio Shortcuts

ShortcutDescription
Ctrl + YDelete line of code
Ctrl + DDuplicate line
Alt + ↑ / ↓Navigate between functions
Alt + ← / →Navigate between tabs
Ctrl + TabSelect tab and side menus
Shift + F4Open tab in a new window
Ctrl + F4Close tab
Ctrl + Shift + F12Close menus and show only code
Ctrl + Alt + TWrap with if or try
Ctrl + Shift + DeleteUnwrap from if or try
Ctrl + F11Add line to favorites
Shift + F11View favorite lines
Shift + ShiftSearch anything
Alt + JSelect word, then find next occurrence
Alt + ClickMultiple cursors
Ctrl + Shift + Alt + JSelect all occurrences of a word
Ctrl + QShow documentation for selection
Ctrl + Alt + LFormat code
Ctrl + Shift + /Block comment
Ctrl + WSelect code block
Ctrl + -Collapse code
Ctrl + +Expand code
Ctrl + Shift + -Collapse all code
Ctrl + Shift + +Expand all code
Alt + Shift + ↑ / ↓Move line up/down
Ctrl + Alt + ←Go back to previous location
Ctrl + Alt + →Go to next location
Ctrl + Alt + SOpen Settings
Ctrl + EToggle between recent files
Shift + F4Duplicate tab in a new window
Ctrl + Alt + ORemove unused imports
Ctrl + Shift + OSync project with Gradle
Ctrl + GGo to a specific line
Ctrl + Shift + GHide/Show minimap
Ctrl + BGo to declaration
Ctrl + Shift + IQuick definition view
Shift + EnterInsert a new line below
Ctrl + XWithout selection, cuts the current line
Ctrl + Shift + VClipboard history
Ctrl + Alt + ↑Create cursor above
Ctrl + Alt + ↓Create cursor below
Ctrl + Shift + ↑ / ↓Move entire statement
Go to top