I know it’s possible to generate comments for classes, interface, etc., in the wizard screen when creating them, but I haven’t found an option to generate javadoc comments for an existing file. Is it possible?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The command is “
Add Javadoc Comment“, or “Generate Element Comment” (Alt+Shift+J), and it is dependent on the one element currently selected.It cannot be applied to a all file. So if you select the all class through the project explorer view, you won’t be able to generate all the missing comments from there.
But from the Project Explorer, as Vitalii Fedorenko mentions in the comments, it works (just tested it):