In Eclipse, when you hover your mouse over a method, a window would appear with a description of what the method does, what the parameters mean and what it returns. Is there a way to get Android Studio to do the same thing?
Android-studio – How to view method information in Android Studio
android-studioandroid-view
Related Topic
- Android-studio – Gradle in Android Studio
- Android-studio – Rename package in Android Studio
- Android – “cannot resolve symbol R” in Android Studio
- Android-studio – Where to place the ‘assets’ folder in Android Studio
- Android-studio – How to get the SHA-1 fingerprint certificate in Android Studio for debug mode
- R – Is iCalendar (.ics) the only way to push calendar data
- Android – Error retrieving parent for item: No resource found that matches the given name after upgrading to AppCompat v23
- Android – How to “select Android SDK” in Android Studio
Best Answer
The easiest and the most straightforward way:
To activate: menu File → Settings → Editor → General
For Mac OS X, Android Studio → Preferences → Editor → General and check Show quick documentation on mouse move:
Other ways:
You can go into your IntelliJ IDEA's bin folder and search for idea.properties. Add this line to the document:
auto.show.quick.doc=true
Now you'll have the same floating documentation window like in Eclipse.
You can pin the window and make the documentation appear every time you select a method with your mouse though.
Android Studio 1.0: You have to hold Ctrl if you want to get hold of the documentation window, for example, scrolling documentation. Otherwise, as you move your mouse away from the method, the documentation window will disappear.