Friday, 6 January 2017

How to add author name in eclipse automatically for new java classes and existing classes:

Adding author name in eclipse automatically for new classes and shortcuts for existing classes.

Shortcut for existing java classes::

Shift + Alt + J will help you add author name in existing file.


Adding author name for New classes::
In Eclipse, select Windows -> Preferences -> Java -> Code Style -> Code templates -> open Comments section (in  right-hand-side-panel) ->  click on Types:

No comments:

Post a Comment