在机器人工作室查看方法的信息 [英] View method information in Android Studio

查看:117
本文介绍了在机器人工作室查看方法的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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.

这篇关于在机器人工作室查看方法的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆