Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
175 views

Android Studio (Windows/Linux) Cheat Sheet: by Via

This document provides a cheat sheet for keyboard shortcuts in Android Studio on Windows and Linux. It lists shortcuts for general functions like saving files and maximizing editors. It also covers shortcuts for writing code like generating code, refactoring code, debugging, and navigating/searching. The cheat sheet is organized into sections for general functions, writing code, debugging, and navigating/searching to help developers be more efficient in Android Studio.

Uploaded by

hanamachi09
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
175 views

Android Studio (Windows/Linux) Cheat Sheet: by Via

This document provides a cheat sheet for keyboard shortcuts in Android Studio on Windows and Linux. It lists shortcuts for general functions like saving files and maximizing editors. It also covers shortcuts for writing code like generating code, refactoring code, debugging, and navigating/searching. The cheat sheet is organized into sections for general functions, writing code, debugging, and navigating/searching to help developers be more efficient in Android Studio.

Uploaded by

hanamachi09
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Android Studio (Windows/Linux) Cheat Sheet

by Kekc42 via cheatography.com/39399/cs/12245/

General Writing Code

Save all Ctrl + S Generate code (getters, setters, etc)


/web/www.cheatography.com/public/images/cheatography_logo.pdf Alt + Insert
Synchronize Ctrl + Alt + Y Override methods Ctrl + O
Maximize/minimize editor Ctrl + Shift + F12 Implement methods Ctrl + I
Add to favorites Alt + Shift + F Surround with (if...else / try...catch / Ctrl + Alt + T
Inspect current le with current prole Alt + Shift + I etc.)

Quick switch scheme Ctrl + ` (backquote) Delete line at caret Ctrl + Y

Open settings dialogue Ctrl + Alt + S Collapse/expand current code block Ctrl + minus/plus

Open project structure dialog Ctrl + Alt + Shift + Collapse/expand all code blocks Ctrl + Shift +
S minus/plus

Switch between tabs and tool window Ctrl + Tab Duplicate current line or selection Ctrl + D
Basic code completion Ctrl + Space
Refactoring Smart code completion (lters the list Ctrl + Shift + Space
Copy F5 of methods and variables by expected
type)
Move F6
Complete statement Ctrl + Shift + Enter
Safe delete Alt + Delete
Quick documentation lookup Ctrl + Q
Rename Shift + F6
Show parameters for selected method Ctrl + P
Change signature Ctrl + F6
Go to declaration (directly) Ctrl + B or Ctrl + Click
Inline Ctrl + Alt + N
Go to implementations Ctrl + Alt + B
Extract method Ctrl + Alt + M
Go to super-method/super-class Ctrl + U
Extract variable Ctrl + Alt + V
Open quick denition lookup Ctrl + Shift + I
Extract eld Ctrl + Alt + F
Extract constant Ctrl + Alt + C
Extract parameter Ctrl + Alt + P

Cheatographer Cheat Sheet Sponsor

Kekc42 Published 8th July, 2017. Measure your website readability!


cheatography.com/kekc42 Updated 8th July, 2017. www.readability-score.com
github.com/kekc42 Page 1 of ??.
Android Studio (Windows/Linux) Cheat Sheet
by Kekc42 via cheatography.com/39399/cs/12245/

/web/www.cheatography.com/public/images/cheatography_logo.pdf

Writing Code (cont) Writing Code (cont)

Toggle project tool window visibility Alt + 1 Smart line split Ctrl + Enter
Toggle bookmark F11 Start new line Shift + Enter
Toggle bookmark with mnemonic Ctrl + F11 Next/previous highlighted error F2 / Shift + F2
Comment/uncomment with line Ctrl + /
Comment/uncomment with block Ctrl + Shift + / Build and Run

Select successively increasing code Ctrl + W Build Ctrl + F9


blocks Build and run Shift + F10
Decrease current selection to previous Ctrl + Shift + W Apply changes (with Instant Run) Ctrl + F10
state
Move to code block start Ctrl + [ Debugging

Move to code block end Ctrl + ] Debug Shift + F9


Select to the code block start Ctrl + Shift + [ Step over F8
Select to the code block end Ctrl + Shift + ] Step into F7
Delete to end of word Ctrl + Delete Smart step into Shift + F7
Delete to start of word Ctrl + Backspace Step out Shift + F8
Optimize imports Ctrl + Alt + O Run to cursor Alt + F9
Project quick x (show intention Alt + Enter Evaluate expression Alt + F8
actions and quick xes)
Resume program F9
Reformat code Ctrl + Alt + L
Toggle breakpoint Ctrl + F8
Auto-indent lines Ctrl + Alt + I
View breakpoints Ctrl + Shift + F8
Indent/unindent lines Tab/Shift + Tab
Smart line join Ctrl + Shift + J

Cheatographer Cheat Sheet Sponsor


Android Studio (Windows/Linux) Cheat Sheet
by Kekc42 via cheatography.com/39399/cs/12245/

/web/www.cheatography.com/public/images/cheatography_logo.pdf

Navigating and Searching Within Studio Navigating and Searching Within Studio (cont)

Search everything (including code and Press Shift twice Return to editor window from a tool Esc
menus) window
Find Ctrl + F Hide active or last active tool window Shift + Esc
Find next F3 Go to line Ctrl + G
Find previous Shift + F3 Open type hierarchy Ctrl + H
Replace Ctrl + R Open method hierarchy Ctrl + Shift + H
Find action Ctrl + Shift + A Open call hierarchy Ctrl + Alt + H
Search by symbol name Ctrl + Alt + Shift + N
Find class Ctrl + N Version Control / Local History

Find le (instead of class) Ctrl + Shift + N Commit project to VCS Ctrl + K

Find in path Ctrl + Shift + F Update project from VCS Ctrl + T

Open le structure pop-up Ctrl + F12 View recent changes Alt + Shift + C

Navigate between open editor tabs Alt + Right/Left Arrow Open VCS popup Alt + ` (backquote)

Jump to source F4 / Ctrl + Enter


Open current editor tab in new window Shift + F4
Recently opened les pop-up Ctrl + E
Recently edited les pop-up Ctrl + Shift + E
Go to last edit location Ctrl + Shift +
Backspace
Close active editor tab Ctrl + F4

Cheatographer Cheat Sheet Sponsor

You might also like