I am new to Android Studio and want to know about shortcuts. In Eclipse we use shift-ctrl-O for importing. In Android Studio we use alt-enter. My ques
Android Studio is built on IntelliJ IDEA Community Edition, the popular Java IDE by JetBrains. This allows the user to select their own keymap (supporting different IDE shortcuts in your IDE).
You can use "Mac os X, Visual studio, Eclipse, Netbeans etc.. shortcuts in your Android Studio by doing the following:
File
-> Settings
-> Keymap
-> choose "Eclipse
" from dropdown.
OR press Ctrl+Alt+S -> keymap
-> choose "Eclipse
" from dropdown like this.
These are some of the useful shortcuts for Android studio (Windows)
Double Shift - Search EveryWhere
Ctrl + Shift+A - quick command search
Ctrl +N - Find Class (capable of finding internall classes aswell)
Ctrl +Shift+N - Find File
Alt+F7 - Find Uses (To get the call hierarchy)
Ctrl+B - goto class definition.
Ctrl+LeftClick - goto to symbol(variable, method, class) definition/definition.
Ctrl+Alt+Left - Back
Ctrl+Alt+Right - Right
Shift+f6 - Refactor/Rename
Not eclipse like you can do eclipse shot cuts just do the following
File ->Settings ->keymap -> in the drop down "KeyMaps" select Eclipse ->
Apply ->ok.
These are for shortcuts specific to android studio.And since it is based on IntelliJ Idea studio,these will work too
answering your specific question,Android Studion is quite logical wrt to shortcuts,for eg for all the situations you asked,try alt-insert
View > Quick Switch Scheme > Keymap > Eclipse
use this option for eclipse keymap or if u want to go with AndroidStudio keymap then follow below link
Click here for Official Android Studio Keymap Refference guide
you may find default keymap referrence in
AndroidStudio --> Help-->Default keymap refrence
If you're looking for a shortcut in Android studio and can't quite remember the command, simply click Ctrl+Shift+A to launch the command search. From here, you can search for any shortcut you want.
Merry coding!