
Comment a line of code: In Android Studio, if we want to comment a line (Basically we comment a line when we may require that part of code again or to explain what we have done is the next part of code). Remove a Bookmark: Jump to that Bookmark and press ( ctrl + shift + id).ĩ. It will jump to the line you have bookmarked.Ĩ. Jump to a Bookmark Line: In Android Studio, If we are searching for our bookmarked line then just press ctrl + id (you have given to that line ) No matter in which file you are currently working on. And then Ctrl + Shift + (1-9) (Any id between 1 to 9 ).ħ. In that case, you can just bookmark that specific line of code.

Bookmark a line: In Android Studio, we have various lines of code that we may need to check some time later but it is difficult to remember in which file which line of code you are looking for. Build and run: In Android Studio, if we want to build and run your App then you can do that by just clicking on the green triangular button but if want to do that using the keyboard then press shift + F10 in Windows / Linux.Ħ. Find and replace: In Android studio, if you have declared a variable and want to change the name of the variable everywhere then you can use this command cmd + r for mac and ctrl + r for Windows / Linux as shown in the below image.ĥ. Find: In Android Studio, If you are searching a variable or word then just press cmd + f in mac/window/Linux.Ĥ.


How to Push Notification in Android using Firebase Cloud Messaging?.How to Change the Color of Status Bar in an Android App?.How to Add and Customize Back Button of Action Bar in Android?.Content Providers in Android with Example.How to Update Gradle in Android Studio?.Android Projects - From Basic to Advanced Level.How to Create and Add Data to SQLite Database in Android?.Broadcast Receiver in Android With Example.How to Send Data From One Activity to Second Activity in Android?.

