|
How to add your own comment template in Eclipse |
|
|
Eclipse provides facility of automatically generates comment in java files.
You can add your own comment also. Suppose if you want to add your comment on setter getter method following steps are required.
First go to the menu entry project>property, properties window will open.
Now go to Java Code Style > Code Templates.
Now go to comments and Enable project specific setting.
Edit your own comment and u can also insert variable like this.
Your own comment will be shown when you generate setter and getters method.
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.