

This is my common practice to review my code before I commit anything into the GitHub. Show Diff (Control + D)Īnother shortcut key that I use a lot is Control + D to show diff in GitHub repository. Generally any shortcut keys that consists of function key, I don't like it. I don't really like this shortcut, simply because F6 is too far away. I do this a lot because I believe having a right name is essential for creating clean code. Instead of doing above, I can just select / highlight the class / function name and press Control + F6. Since I do a lot of Right Click -> Refactor -> Rename., I think it is better for me to remember this shortcut. I can't find it in the official documentation here too, can you? 4. Somehow, this shortcut key - Control + Alt + Left/Right Arrow is not documented anywhere. So I don't turn this toolbar on.Ĭontrol + Alt + Left Arrow is backward navigation and Control + Alt + Right Arrow is forward navigation. This shortcut key - Control + Alt + Left/Right Arrow is a lot faster instead of clicking the buttons. To enable this back / front navigation icon buttons in Android studio, click View -> Appearance -> Toolbar Android Studio has this buttons too, but it is not enabled by default. In Visual Studio (while working on C# programming development), I use this little backward and forward icon buttons a lot. Navigate Back / Front (Control + Alt + Left/Right Arrow) I do this a lot somehow during my development, especially trying to understand the external library API that I'm using. Instead of right click -> Go to -> Declarations or Usages Because it requires extra key press, it slows me down. The exact equivalent shortcut key should be Control + Shift + /. Comment/Uncomment (Control + /)īefore I know this shortcut key, I do this This is only based on my 9 months of Android development experience. However, there are 5 Android Studio shortcut keys that I use every day that I can't live without. I usually just go to the menu or mouse right click to look for the tasks that I would like to perform. First of all, I'm not an Android Studio shortcut keys guy because I can't simply remember them.
