如何让NetBeans向我展示Java方法的正确文档?
现在,当我使用内置方法时,它会向我显示返回类型,而不会显示其他有用的内容
我可以下载一些东西,让intellisense的信息更加可靠吗
Javadoc not found. Either Javadoc documentation for this item does not exist or you have not added specified Javadoc in the Java Platform Manager or the Library Manager.
# 1 楼答案
javadocs在jdk包中提供,或者至少在jdk1.8中提供。您可以将名为
src.zip
和javafx-src.zip
的zip文件添加到工具>;java平台>;Javadoc# 2 楼答案
您需要下载JDKAPI文档,可以从this page获得。 然后在NetBeans中,转到
Tools -> Java Platforms -> Javadoc
指定下载它们的目录