如何获取Eclipse以显示类的整个javadoc [英] How do I get Eclipse to show the entire javadoc for a class
问题描述
eclipse可以显示整个javadoc吗?即当我突出显示对象引用时的所有方法(及其描述)?
Can eclipse show the entire javadoc? i.e. all methods (and their descriptions), when i highlight an object reference?
例如,如果我执行系统,它将显示
for example, if I do System, it shows me
java.lang.System
java.lang.System
System类包含几个有用的类字段和方法.它无法实例化.
The System class contains several useful class fields and methods. It cannot be instantiated.
System类提供的功能是标准输入,标准输出和错误输出流;外部访问定义的属性和环境变量;一种加载文件的方式和图书馆;和一种用于快速复制一部分内容的实用方法数组.
Among the facilities provided by the System class are standard input, standard output, and error output streams; access to externally defined properties and environment variables; a means of loading files and libraries; and a utility method for quickly copying a portion of an array.
由于:JDK1.0
但是,这告诉我我可以做什么.是的,我可以使用智能点完成功能,但这似乎有点麻烦.
but that tells me very litte about what I can do with that. yes, I can use the intelligent dot completion, but that seems a bit cumbersome.
任何指针将不胜感激.
推荐答案
要查看在eclipse中附加了源代码的类的javadoc,
To see the javadoc of a class having attached source in eclipse:
选择窗口->显示视图-> javadoc(或alt + shift + q,j).
select Window -> show view -> javadoc (or alt + shift + q, j).
然后在javadoc视图中,右键单击->打开附加的javadoc(或shift + F2),这将在eclipse的内部浏览器中显示该类的javadoc.
then in the javadoc view, right click -> open attached javadoc (or shift + F2), this will display the javadoc of the class in the internal browser of eclipse.
这篇关于如何获取Eclipse以显示类的整个javadoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!