Development Commands

Marco Montoya August 10, 2025

Table of Contents
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
Shortcut | Description |
---|---|
Ctrl + Y | Delete line of code |
Ctrl + D | Duplicate line |
Alt + ↑ / ↓ | Navigate between functions |
Alt + ← / → | Navigate between tabs |
Ctrl + Tab | Select tab and side menus |
Shift + F4 | Open tab in a new window |
Ctrl + F4 | Close tab |
Ctrl + Shift + F12 | Close menus and show only code |
Ctrl + Alt + T | Wrap with if or try |
Ctrl + Shift + Delete | Unwrap from if or try |
Ctrl + F11 | Add line to favorites |
Shift + F11 | View favorite lines |
Shift + Shift | Search anything |
Alt + J | Select word, then find next occurrence |
Alt + Click | Multiple cursors |
Ctrl + Shift + Alt + J | Select all occurrences of a word |
Ctrl + Q | Show documentation for selection |
Ctrl + Alt + L | Format code |
Ctrl + Shift + / | Block comment |
Ctrl + W | Select 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 + S | Open Settings |
Ctrl + E | Toggle between recent files |
Shift + F4 | Duplicate tab in a new window |
Ctrl + Alt + O | Remove unused imports |
Ctrl + Shift + O | Sync project with Gradle |
Ctrl + G | Go to a specific line |
Ctrl + Shift + G | Hide/Show minimap |
Ctrl + B | Go to declaration |
Ctrl + Shift + I | Quick definition view |
Shift + Enter | Insert a new line below |
Ctrl + X | Without selection, cuts the current line |
Ctrl + Shift + V | Clipboard history |
Ctrl + Alt + ↑ | Create cursor above |
Ctrl + Alt + ↓ | Create cursor below |
Ctrl + Shift + ↑ / ↓ | Move entire statement |