Skip to content

yuanhoujun/intellij-generate-serial-version-uid-plugin

Repository files navigation

GenerateSerialVersionUID

A simple plugin for Android Studio/IDEA that generates a default serialVersionUID field for serializable classes, support Kotlin and Java.

How to install

  • In IDEA or Android Studio: go to Preferences -> Plugins and search GenerateSerialVersionUID, you will find several plugins with the same name, choose the one whose author is Ouyangfeng.

or

  • Download it and install via Preferences → Plugins → Install plugin from disk.

How to use it

  • Make sure your class has implemented Serializable interface.
  • Right-click in the class body and select Generate, SerialVersionUID to confirm.
  • You can also use the shortcut Ctrl + Alt + G to quickly generate it.

Thanks

idea-GenerateSerialVersionUID

Buy me a coffee

If you think this plugin is useful to you,, buy me a coffee please.

Contact me

Email: ouyangfeng2016@gmail.com

Blog: http://youngfeng.com

Wechat official account: 欧阳锋工作室