在Android Studio中查看方法信息 [英] View method information in Android Studio
问题描述
最简单和最简单的方法:
您可以通过转到:文件>设置>编辑器>常规激活它,然后检查显示鼠标移动的快速文档:
的设置对话框
其他方式:
-
您可以进入IntelliJ的bin文件夹,并搜索 idea.properties 。将此行添加到文档中:
auto.show.quick.doc = true
现在,您将具有与Eclipse相同的浮动文档窗口。
-
您必须按 CTRL + Q 查看Javadoc。
您可以固定窗口,并在每次使用鼠标选择方法时显示文档。
Android Studio 1.0:如果您想要保留文档窗口,您必须持有 CTRL 滚动文档否则您将鼠标移离方法文档窗口将消失。
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?
The easiest and the most straightforward way:
You can activate it by going to: File > Settings > Editor > General and check Show quick documentation on mouse move:
Other ways:
You can go into your IntelliJ'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 docs window like in Eclipse.
You have to press CTRL+Q to see the Javadoc.
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 documentation window for e.g. scrolling documentation otherwise as you move your mouse away from method documentation window will disappear.
这篇关于在Android Studio中查看方法信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!