在机器人工作室查看方法的信息机器人、工作室、方法、信息

2023-09-12 10:43:17 作者:淺唱我們旳歌°

在Eclipse中,当你在一个方法,将鼠标悬停,一个窗口将出现带有什么样的方法做,什么参数的含义的说明,以及它返回。有没有办法让Android的工作室做同样的事情?

解决方案

最简单,最直接的方式:

preferences>编辑>显示DOC鼠标移动:

您可以通过将其激活

其他的方式:

高校精英走进北京现代 领略极致品质与智慧未来新魅力

您可以进入你的IntelliJ的bin文件夹和搜索 idea.properties 。添加此行到文档:

auto.show.quick.doc = TRUE

现在你有相同的浮动文档窗口,就像在Eclipse中。

您必须preSS CTRL + 问:看的Javadoc。

您可以固定的窗口,并在文档出现在你与你的鼠标,虽然选择的方法每次。

机器人工作室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: Preferences > Editor > Show doc 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.