Android Studio tips and tricks part 2

Today I came up with few more Android studio tips and tricks. Android studio is a huge IDE to understand for beginners within short period of time. Last month I already have written an article on some useful features of Android studio and today also going to continue the same. Lets start

Android studio terminal

android studio

As you all can see the bottom of the image having “Terminal” opened, so this terminal is nothing but a Windows command prompt / Linux terminal. We all can leverage this widget to execute certain command directly from here instead of opening it separately. Some of the most common commands we execute during our development time are, checking jdk version, executing ipconfig , git commands etc.

Todo finder

Android studio

Here again see the bottom of Android studio where “Todo finder” is opened. This feature is remained least used among Android developers but this is really helpful when we want to implement any feature but not able to complete that due to certain dependencies and we add certain comments to identify but what we missed everytime is to start the comment with “todo” word. Simply by adding “todo”  in your comments in all the uncompleted modules you are giving Android studio an option to ease your life. So next time when you are ready to complete you functionality just click on the “ToDo” view and boom this will find all the codes having uncompleted functionalities.

Goto Line dialog

Android studio

Goto line feature is also one of the least used features by Android developers as they won’t feel the need of this but this will be really handy if you are inspecting an exception you figured out from an error reporting tool integrated with your app. As error reporting tools usually gives details about the exceptions/errors and with line number within certain class files but navigating to that particular line usually become little hectic. But with the help of this “goto line dialog” we can easily navigate to the exact line number. To open this dialog we need to press “Ctrl + g” and the dialog appears with current line number and column number, once it opens we need to select the number before colons and type the desired line number and press enter or click Ok button and boom we are at the desired line.

I hope after knowing these features, you all can improve your productivity and do not forget to share with your colleagues to help them improving their productivity too.

Happy coding !!!

Leave a Reply

Your email address will not be published. Required fields are marked *