简体   繁体   English

如果Eclipse中缺少jsDoc批注,如何获得警告?

[英]How do I get warnings if jsDoc annotations are missing in eclipse?

I am coming from a Java background and I always liked how eclipse warned me when there were classes, methods or properties that lacked javadoc annotations. 我来自Java背景,当某些类,方法或属性缺少javadoc注释时,我总是喜欢eclipse警告我。

Now, since I manage JavaScript projects, I introduced jsDoc which works quite well. 现在,由于我管理JavaScript项目,因此我引入了jsDoc,它运作良好。 However, in order to keep track on documentation I'd like to have those warnings as well for missing jsDoc annotations in eclipse. 但是,为了跟踪文档,我也希望对Eclipse中缺少jsDoc注释的那些警告。

Is there any way to do this? 有什么办法吗?

Ah, nevermind. 啊没关系。 I just found the option how to enable it here: 我刚刚在这里找到了如何启用它的选项:

如何在Eclipse中启用jsdoc警告

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

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