Reputation: 1199
How can the comments or comment-blocks related to the methods be added by us into our RCP application as soon as a new method is added?
Upvotes: 17
Views: 34502
Reputation: 14769
In the preferences: Java → Code Style → Code Templates
At the bottom there is a checkbox, Automatically add comments for new methods and types.
If you have an existing method, you can go to the (empty) line just before the method, type /**
Enter, and the comment is generated.
Upvotes: 35