Intellij IDEA Cookies

Intellij IDEA Gen serialVersionUID

cmd+, -> Preferences -> Editor -> Inspections -> Serialization issues -> [checked]Serializable class without ‘serialVersionUID’

implements Serializable 后 Option + Enter 选 Add serialVersionUID field

Intellij IDEA Gen serialVersionUID Plugin

安装GenerateSerialVersionUID插件后,代码生成时会出现GenerateSerialVersionUID选项

javadoc中允许1行注释

Code Style -> Java -> JavaDoc -> Other -> [选中] Do not wrap one line comments