在 idea 的 setting 里设置了类注释模板,如下:
每创建一个 class 文件都会自动写上这些注释,但是 idea 总是对此发出警告提示:
Wrong tag 'Description' less... (Ctrl+F1) This inspection points out the following javadoc comment flaws: - no javadoc where it is required
- required tag is missing
- invalid or incomplete tag
- javadoc description is missing or incomplete
alt + enter -> add to custom tags