简体   繁体   English

如何在Eclipse中启用Javadoc警告?

[英]How can I enable Javadoc warnings in Eclipse?

Is it possible in Eclipse to have the warnings displayed in the editor about Javadoc issues. 在Eclipse中是否可以在编辑器中显示有关Javadoc问题的警告。 for example, I often rename / change parameters of methods and forget to update the Javadoc accordingly. 例如,我经常重命名/更改方法的参数,忘记更新Javadoc。

This would be great to notice that before the next Javadoc compilation. 在下一次Javadoc编译之前注意到这一点会很棒。

Window > Preferences > Java > Compiler > Javadoc 窗口>首选项> Java>编译器> Javadoc

When renaming use the refactor option - ALT + SHIFT + R. It will automatically rename javadoc param names as well. 重命名时使用重构选项 - ALT + SHIFT + R.它也会自动重命名javadoc param名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM