Shortcuts for Android Studio




Here we can see some useful shortcuts for Android/Java Developer when using android studio IDE (Windows).


Double Tab the Shift - Search any class/resource files

CTRL + I - Add an unimplemented methods

CTRL + ALT + L - Format/Align the code

CTRL + F9 - Build the project

CTRL + F10 - Build and Run the project

CTRL + O - Override methods 

CTRL +N - Jump to the search the file with line number (Eg: MainActivity:50 (Line number))

CTRL +G - Goto Line/column (line/column - 10:40) 

CTRL +E - Recent files

CTRL +ALT +F7 - Search the usages of the selected class in the class itself

CTRL+SHIFT+N - Find File

CTRL + SHIFT + NumPad + (+) - Expand all

CTRL + SHIFT + NumPad + (-) -Collapse all

CTRL + R - Find and replace

CTRL + F -  Find

CTRL+ SHIFT+A - quick command search

CTRL +N - Find Class (capable of finding internal classes as well)

CTRL+B - Goto the class definition

CTRL+LeftClick - goto to symbol(variable, method, class) definition/definition.

CTRL+ALT+Left - Back

CTRL+ALT+Right - Right

ALT + 6 - Show Logcat

ALT + 1 - Show Project Bar

ALT + Select using Mouse - Select and update multiple lines at a once

ALT +J - Select unique variable name

ALT +< > - Jump to the opened file in the project

ALT + ^ v(up/down arrow) - Jump to every method in the class

ALT+F7 - Find Uses (To get the call hierarchy)

SHIFT +F10 - Run the project

SHIFT +F6 - Rename the file/variable name throughout the app

SHIFT + ESC - Hide the project / Logcat bar

(Or)
You can manage all shortcuts from the below following path in android studio

Check :File ->Settings ->Keymap -> <Choose Eclipse from Keymaps dropdown>

Happy Coding... ðŸ˜Š

Comments

Popular posts from this blog

Your build is currently configured to use incompatible Java 21.0.3 and Gradle 8.2.1. Cannot sync the project.

Google Assistant Implementation in Android application with app actions