Home » Android » Android Studio: Javadoc is empty on hover

Android Studio: Javadoc is empty on hover

Posted by: admin March 10, 2020 Leave a comment

Questions:

I have moved from Eclipse to Android Studio recently, and am liking it. However, I miss the Javadoc on hover feature from Eclipse.

I followed the instructions here to add the functionality, however, my hovers contain no Javadoc. If I use my documentation shortcut Ctrl + Shift + Space it will show the documentation correctly, however, I really want it to come up in the Tooltip.

Below is a screenshot of what I see. Clearly, there should be a Javadoc on this method.

enter image description here

I see this on all methods/variables. Any help is appreciated.

How to&Answers:

Turns out the docs hover page was simply resized to be very short. Carefully moving the mouse down to the bottom of the hover page allowed me to resize it.

Even after resizing it though, I still see it return to it’s tiny size quite often… I’m glad I have my docs back, even if it does mean dealing with this annoyance.

Answer:

You don’t need to edit the idea.properties file, just go to File -> Settings -> Editor -> General, then check “Show quick doc on mouse move” in the right pane.

Answer:

Android Studio 1.2.2

File > Settings > Editor > General > Show quick doc on mouse move.

screenshot

Android Studio 1.0

File > Settings > IDE Settings Editor > Show quick doc on mouse move.

screenshot

Answer:

Did U downloaded Documentation for Android SDK from Android SDK Manager?

enter image description here

If you installed the Documentation you will get like this when you press Ctrl + Shift + Space

enter image description here