How do generate this value in IntelliJ IDEA?
I go to Settings -> Errors -> Serialization issues -> Serializable class without ‘serialVersi
In addition you can add live template that will do the work.
To do it press Ctrl+Alt+S -> "Live Templates" section -> other (or w/e you wish)
And then create a new one with a definition like this:
private static final long serialVersionUID = 1L;
$END$
Then select definition scope and save it as 'serial'
Now you can type serialTAB in class body.