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

CleanUp Idea In Mac

1
2
3
4
rm -rf ~/Library/Application\ Support/IntelliJIdea*
rm -rf ~/Library/Caches/IntelliJIdea*
rm -rf ~/Library/Preferences/IntelliJIdea*
rm -rf ~/Library/Logs/IntelliJIdea*

ref How to Uninstall IntelliJ on a Mac