Everyone likes to increase their productivity and everyone has their own favourite productivity hacks, but not everyone agrees! In this blog, Ryan will talk about their top three Android Studio shortcuts and how they're better than the rest.
Pressing cmd+F6 on a method will open a dialog to change that methods signature.
Safely refactor a method signature, previewing all changes of client calls before applying a change.
Additional shortcuts in dialog:
alt+up : move parameter up
alt+down : move parameter down
cmd+n : add a new parameter
backspace : remove parameter
alt+r : apply refactor
alt+p : preview changes
This shortcut brings up a simple run dialog.
Useful if you like to code in distraction free mode, no need to exit distraction free to select / edit a specific run configuration.
To open the debug variant it is ctrl+alt+d. A downside is you can't attach the debugger this way as far as I can tell. For that, I need to search for the action.
This shortcut will show a small dialog to navigate between recently opened files.
Great for distraction free mode, no need to have more than one window on the code. Plus no need to open a side panel to navigate between files.
I find this a bit cumbersome but ctrl+tab+shift will navigate to the previous file.
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