Android Studio Tips & Tricks 1: How to “Surround With” ShortCut

Kuray Ogun
FreakyCoder Software Blog

--

Updated: March 2, 2020

In Android Studio, sometimes finding a shortcut is a terrible action. In default, there is no try-catch surround method just write “try”.

However, we have a cool “surround with” shortcut. This surround shortcut let us very useful and cool stuff.

We just need one shortcut which is :

→ on macOS :

“ ⌥ + ⌘ + T ”

OR

“Alt + Command + T”

→ on Windows :

“Alt + Control(ctrl) + T”

Then;

⌥ + ⌘ + T

You can select whatever you want and it will auto-create its code.

Do you need an Android Developer?

Here is Toptal’s Hiring Guide for finding the best Android Experts 😍

--

--