idea设置序列化快捷键

1、快捷键序列化:

  例:private static final long serialVersionUID = 1L

  File -> Settings -> Editor -> Inspections -> 搜索:Serialization issues -> 选择:Serializable class without 'serialVersionUID'   打

  

  把鼠标放到类上,Alt + Enter 就可以了

  

 

posted @ 2021-03-04 15:05  孙浩月  阅读(1450)  评论(0编辑  收藏  举报