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?
Eclipse – How to we automatically generate comments for methods written by us in Eclipse RCP
commentseclipse
Related Question
- Java – ‘Must Override a Superclass Method’ Errors after importing a project into Eclipse
- Java – How to turn off the Eclipse code formatter for certain sections of Java code
- Xml – How to comment out a block of tags in XML
- Python – way to create multiline comments in Python
- How to “comment-out” (add comment) in a batch/cmd
- Java – Can’t start Eclipse – Java was started but returned exit code=13
- How to add comments to package.json for npm install
- Java – Why is executing Java code in comments with certain Unicode characters allowed
Best Solution
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.