英文:
Custom Javadoc not showing in IDE
问题
我已经构建了一个库并将其作为“External JAR”链接到我的Eclipse项目中。
尽管该库运行良好,但我无法使我编写的Javadoc显示出来,因为Eclipse一直显示给我:
我已经阅读了一些类似的帖子,它们都涉及到javadoc文件的位置,但我没有单独的Javadoc文件。所有的Javadoc都写在字段和方法上面,带有基本的注释。
我应该如何“链接”已经存在于库文件中的Javadoc?谢谢。
英文:
I have built a library and linked it to my Eclipse project as an External JAR
.<br>
Though the library works well, I couldn't make the Javadoc I wrote appear, as Eclipse keeps showing me:
<img src="https://i.stack.imgur.com/twOnp.png" width="500" height="100">
I've read through some similar posts and they all refer to the javadoc file location, but I have no separate file for Javadoc. Everything is written above fields and methods with basic annotations.<br><br>
How am I supposed to "link" a javadoc that is already present in the library files ? Thank you.
答案1
得分: 1
你可以导出这个JAR文件,在导出窗口中,你可以勾选选项 导出Java源文件和资源。
我知道这不是理想的修复方法(因为这将导出你的源代码),但它确实有效。
英文:
You could export the jar, and in the export window you can mark the option export java source files and resources
I know this insn't the ideal fix(cause you would be exporting your source code) but it does work
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论