taringamberini opened a new issue, #5915:
URL: https://github.com/apache/netbeans/issues/5915

   ### Description
   
   Currently, if I have checked the Serialization checkbox under Tools > 
Options > Editor > Hints > Standard Javac Warnings I can find all classes 
missing a defaultSerialVersionUID looking in the Action Items window.
   
   Unfortunately, if there are many classes I have to open each class to add a 
defaultSerialVersionUID. Luckily the editor helps me because when I put the 
cursor on the class declaration I type ALT+ENTER and I choose Add 
defaultSerialVersionUID. The problem is that I have to repeat these operations 
for each class.
   
   I would like adding a defaultSerialVersionUID to all Serializable classes 
which don't has one yet.
   
   That is a refactoring scenario, so I would like to proceed in this way:
   
   1. left click on the project in Projects window
   2. click Refactor
   3. click Inspect and Transform
   4. choose Single Inspection
   5. choose Serialization under a Standard Javac Warnings section
   6. click Inspect
   7. click Transform
   
   Many thanks for your help,
   Tarin
   
   
   ### Use case/motivation
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to