Android Studio: Javadoc is empty on hover

删除回忆录丶 提交于 2019-11-27 09:54:10

问题


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.

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


回答1:


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.




回答2:


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.




回答3:


Android Studio 1.2.2

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

Android Studio 1.0

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




回答4:


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

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



来源:https://stackoverflow.com/questions/16818952/android-studio-javadoc-is-empty-on-hover

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!