Android studio shortcut

There are a lot of keyboards shortcuts provided for use in the Android Studio which works in almost the same way as any of the other IntelliJ IDEs you may already be using (e.g. PhpStorm, Android Studio, IntelliJ etc.)

Most times we tend to ignore the shortcuts, however, experience has shown that knowledge of these keyboard shortcuts will improve our coding experience. Let’s try and get familiar with the shortcuts for better productivity and to enhance our work rate.

This post is just a reminder that the shortcuts are available for your use, they are not there for decoration. The more you use them the more familiar you get with them.

psvm + TAB

public static void main

sout + TAB

System.out.println

CTRL + F9

Make Project

CRTL + Z

Undo

CTRL+SHIFT+Z

Redo

CTRL + X

Cut

CTRL + SHIFT + C

Copy Path

CTRL +ALT +SHIFT + C

Copy reference

CTRL + SHIFT +V

Paste from history

CTRL +ALT+SHIFT+V

Paste Simple

CTRL + A

Select All

CTRL + W

Extend Selection

CTRL + SHIFT + W

Shrink Selection

CTRL +SHIFT + ENTER

Complete current Statement

CTRL + SHIFT + J

Join lines

CTRL + D

Duplicate Line or Selection or compare with

TAB

Indent Selection/ next parameter

SHIFT + TAB

Unindent line or selection

CTRL + SHIFT + U

Toggle Case

SHIFT +TAB

Previous parameter

CTRL + Q

Quick Documentation

CTRL + E

Recent Files

CTRL +SHIFT + E

Recently changed files

ALT + SHIFT + C

Recent changes

CTRL + N

Class

CTRL + SHIFT + N

Files

CTRL + ALT + SHIFT + N

Symbols

CTRL + ALT + LEFT

Back

CTRL +ALT + RGHT

Forward

CTRL + SHIFT + BACKSPACE

Last edit location

ALT +  F1

Select in..

ALT + HOME

Jump to Navigation bar

CTRL + B

Declaration

CTRL + ALT + B

Implementation

CTRL + SHIFT +B

Type Declaration

CTRL + U

Super method

CTRL + ALT + HOME

Related Symbol

CTRL + F12

File structure

CTRL + ALT + F12

Directory path

ALT + SHIFT + H

Imports Hierachy

CTRL + H

Type Hierarchy

CTRL + SHIFT + H

Method Hierarchy

CTRL + ALT + H

Call Hierarchy

F2

Next highlighted error

SHIFT + F2

Previous highlighted error

ALT + SHIFT + CLOSE BRACKET      

Next Emmet edit point

ALT + SHIFT + OPEN BRACKET        

Previous Emmet edit point

ALT + DOWN

Next Method

ALT + UP

Previous Method

SHIFT + F12

Restore default layout

SHIFT + F10

Run App

SHIFT + F9

Debug App

ALT +SHIFT + F10

Run

ALT + SHIFT + F9

Debug

CTRL + F10

Apply changes no active app launch

CTRL + F2

Stop

F8

Step over

ALT + SHIFT + F8

Force Step Over

F7

Step into

ALT + SHIFT + F7

Force Step into

SHIFT + F7

Smart step into                                 

SHIFT + F8

Step out

ALT + F9

Run to cursor

CTRL + ALT + F9

Force run to cursor

F9

Resume program

ALT + F8

Evaluate Expression

CTRL +ALT + F8

Quick Evaluate Expression

ALT + F10

Show execution point

CTRL + F8

Toggle line break point

CTRL + ALT + SHIFT + F8

Toggle Temporarily line break point

CTRL + ALT + Close Bracket

Next Project Window

CTRL + ALT + Open Bracket

Previous project window

CTRL + ALT + SHIFT + T

Refactor this…

SHIFT + F6

Resume…

F6

Move

F5

Copy

ALT + DELETE

Safe delete

CTRL + ALT + N

Inline

CTRL + F6

Change Signature

CTRL + SHIFT + F6

Type Migration…

CTRL + ALT + SHIFT + I

Run Inspection by Name…

CTRL + ALT + SHIFT + H

Configure current file analysis

CTRL + ALT + F6

Show coverage data

CTRL + O

Override methods…

CTRL + I

Implement methods…

ALT + INSERT

Generate…

CTRL + ALT + T

Surround with…

CTRL + SHIFT + DELETE

Unwrap/Remove

CTRL + J

Insert live template

CTRL + ALT + J

Surround with live template

CTRL + SLASH

Comment with line comment

CTRL + SHIFT + SLASH

Comment with block comment

CTRL + ALT + L

Reformat code

CTRL + ALT + SHIFT + L

Show reformat file dialog

CTRL + ALT + L

Auto indent lines

CTRL + ALT + O

Optimize imports

CTRL + SHIFT + DOWN

Move statement down

CTRL + SHIFT + UP

Move statement up

CTRL + ALT + SHIFT + LEFT

Move element left

CTRL + ALT + SHIFT + RIGHT         

Move element right

ALT + SHIFT + DOWN

Move line down

ALT + SHIFT + UP

Move line up

CTRL + ALT + SHIFT + K

Convert java file to kotlin file

Thanks for reading…

 

Category
Glory Agatevure is a software developer at KodeHauz. She's skilled in Mobile App Development.