Eclipse nicely generates the serialVersionUID for me. But this seems to be passive code generation as the id won't be automatically updated as I change the file unless I do the generation again.
Is there some way to have the serialVersionUID being generated every time I change the contents? The "Save Actions" don't seem to include such an option - has somebody found some way to do this?
It would be nice that it could be combined with the IDE save actions or something similar so that I could revert the change if I were doing that doesn't affect the serialization.
Best regards, Touko
EDIT: @gustafc: There are two main points for this:
Does this sound sensible?
Summa summarum, after more thinking, an auto-incremented serialVersionUID incremented at each change would be even better...
There is no standard functionality in Eclipse to do this.