Top 3 Android Studio shortcuts - Flo

Developer, Photographer, and well... French. Converting caffeine into great products @Novoda. Minimalism is my thing.

Everyone likes to increase their productivity and everyone has their own favourite productivity hacks, but not everyone agrees! In this blog, Florian will talk about his top three Android Studio shortcuts and how they're better than the rest.

Surround with

Ctrl + Alt + T

GIF OF SHORTCUT 1 IN ACTION - REPLACE THIS TEXT WITH DESCRIPTION FOR VI USERS

Surround a statement or a code block with if, else, a cast or even live templates!

No more fiddling with parenthesis for ever.

Make sure the area you want to operate with is selected (using the next tip for instance!)


Incremental expression selection

Linux: Ctrl + W / Ctrl + Shift + W

OSX: Alt + ↑ / Alt + ↓

GIF OF SHORTCUT 2 IN ACTION - REPLACE THIS TEXT WITH DESCRIPTION FOR VI USERS

Extends / shrinks the selection.

No more imprecise mouse selection! Very powerful used in combination with other refactoring shortcuts such as Ctrl + Alt + M to extract a new method for instance.


Completing statements

Ctrl + Shift + Enter

GIF OF SHORTCUT 3 IN ACTION - REPLACE THIS TEXT WITH DESCRIPTION FOR VI USERS

Complete all the things!

Insert smartly (most of the time) parenthesis and colons, no more painful going back and forth to the start and the end of the statement to make everything right.

Sometime mess up the statement. I also wish there were a possibility to both complete a method name and import it statically.

Enjoyed this article? There's more...

We send out a small, valuable newsletter with the best stories, app design & development resources every month.

No spam, no giving your data away, unsubscribe anytime.

About Novoda

We plan, design, and develop the world’s most desirable software products. Our team’s expertise helps brands like Sony, Motorola, Tesco, Channel4, BBC, and News Corp build fully customized Android devices or simply make their mobile experiences the best on the market. Since 2008, our full in-house teams work from London, Liverpool, Berlin, Barcelona, and NYC.

Let’s get in contact

Stay in the loop!

Hear about our events, blog posts and inspiration every month

Subscribe to our newsletter