Reputation: 27
I am using Intellij IDEA.
I know how to work "fix doc commnet" It's always using method.
My question~ I would like to add javadoc on Class. How can I do it?
Upvotes: 1
Views: 2861
Reputation: 9108
There's nothing special, just place the cursor above the class and type:
/**
and press enter.
Upvotes: 1
Reputation: 197
Before each class you want documentation for, insert /**
and press enter. A javadoc block should be generated for you. If you want to go ahead and generate the javadoc, do Tools -> Generate Javadoc
and add whatever configuration options you feel necessary.
Upvotes: 1