Android Studio: Javadoc is empty on hover

2019-01-21 08:25发布

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.

4条回答
Deceive 欺骗
2楼-- · 2019-01-21 08:50

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.

查看更多
劫难
3楼-- · 2019-01-21 08:58

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.

查看更多
Luminary・发光体
4楼-- · 2019-01-21 08:58

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

查看更多
Animai°情兽
5楼-- · 2019-01-21 09:16

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

查看更多
登录 后发表回答