G

GenerateSerialVersionUID

JetBrains

ba7a65ca-8842-4d52-8291-5705a47379e1 · v—

Adds a new action 'SerialVersionUID' in the generate menu (alt + ins). The action adds an serialVersionUID field in the current class or updates it if it already exists, and assigns it the same value the standard 'serialver' JDK tool would return. The action is only visible when IDEA is not rebuilding its indexes, the class is serializable and either no serialVersionUID field exists or its value is different from the one the 'serialver' tool would return.

Editor
Downloads
443K
443 016
Rating
4.1 ★
9 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 9 ratings
5★ 77.8%
1★ 22.2%

Reviews 8

★★★★★ Daniel Soto 2022-02-23

Works like a charm!

★★★★★ Olivier Descout 2011-04-05

Simple plugin recompilation under IDEA 10 makes it work fine.

★★★★★ Niklas Holm 2020-10-02

Doesn't work, crashes with IntelliJ 2020.2 update failed for AnAction(org.intellij.plugins.serial.GenerateSerialVersionUIDAction) with ID=GenerateSerialVersionUID java.lang.NullPointerException

★★★★★ Harrison McCullough 2019-09-18

I don't see any options when I search through the Help Menu or in IntelliJ preferences for "SerialVersionUID". I'm on a Mac and have no "Insert" key, and the suggestion online to use Cmd+N doesn't work, either. If I find a way to access this functionality I will happily change my rating.

★★★★★ AndroidDeveloperLB 2020-06-30

I don't see it being offered. Maybe works only for Java? If so, please update it to handle Kotlin too :(

★★★★★ [email protected] 2016-08-30

It works fine on MAC with the shortcut "command+n"

★★★★★ greymeister 2014-12-16

Getting this error in version 13.1.6 (135.1306) when trying to run the plugin: Mac OS X 10.9.5 $ java -version java version "1.7.0_65" Java(TM) SE Runtime Environment (build 1.7.0_65-b17) Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode) 2014-12-15 13:08:28,776 [4056021] INFO - enerateSerialVersionUIDHandler - Could not insert field com.intellij.util.IncorrectOperationException:...

★★★★★ anonymous 2013-11-07

sddasdasd

Similar in “Editor”