简体   繁体   English

IntelliJ快捷方式为getter和setter方法创建默认的javadoc

[英]IntelliJ shortcut to create default javadoc for getter and setter methods

Is there a feature in IntelliJ to create getter and setter methods with javadoc surrounded? IntelliJ中是否有一个功能来创建包含javadoc的getter和setter方法? We have this feature in eclipse where getter and setters for a variable is created with javadoc. 我们在eclipse中有这个功能,其中使用javadoc创建变量的getter和setter。 Eclipse provides an option to create javadoc by its own. Eclipse提供了一个自己创建javadoc的选项。 Is there something similar in IntelliJ? IntelliJ中有类似的东西吗?

As far as I can see there is no built-in method to achieve this. 据我所知,没有内置的方法来实现这一目标。 But here is a link to a plugin that should do it for you. 这里有一个插件的链接,应该为你做。

Regards. 问候。

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

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