As I am mostly doing my stuff with Eclipse even though the Android studio came, I still work with Eclipse project for Android but as time comes, we cannot ignore the Android studio anymore because:
- Official Android document is only support for Android Studio
- More and more library today does not include any support (no .jar to provide) for Eclipse
Of course, people might said more as Android studio is better because of blaa blaa…. but for me, two above reasons are mainly important that may block me to do my stuff.
Somehow to switch to Android Studio, the same way as we switch to InteliJ IDE, it’s a little bit frustrated, confusing or even stuck on something that we can do with Eclipse.
Here, I try to collect around the information that we need to know to replace our old habit with eclipse or just adapt to our old style on the new IDE.
First loaded the IDE, you see this screen:
And so here are:
1. Important Android Studio Shortcuts You Need the Most
- Go to class : CTRL + N.
- Go to file : CTRL + SHIFT + N.
- Navigate open tabs : ALT + Left-Arrow ; ALT + Right-Arrow.
- Lookup recent files : CTRL + E.
- Go to line : CTRL + G.
- Navigate to last edit location : CTRL + SHIFT + BACKSPACE.
- Go to declaration : CTRL + B.
Check this StackOverflow.
2. How about if you want Eclipse Shortcut Keys instead?
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.
3. Configure your Android Studio for any Source Control
As example, we need SVN (Subversion). Make sure you have a default svn client in your machine, if you already have it, on Android Studio:
- Go to File > Settings
- Click Plugins and then select Search Subversion Integration
- Check SubVersion.
- Restart Android Studio.
Anything more? Will update.