下载安装 在idea的plugins中搜索GenerateSerialVersionUID插件然后下载安装,安装后要重启一下idea 使用 重启完后我们比如要序列化某个类,只需要按快捷键:alt + insert 也可以自己自定义快捷键