nicomp
nicomp

Reputation: 4647

Configure Eclipse to add a comment header the top of new modules

How can Eclipse be configured to automatically add a comment header to the top of new classes that are created in a project?

/*
*  Name
*  Date of creation
*  etc.
*/

Upvotes: 1

Views: 472

Answers (1)

Ori Marko
Ori Marko

Reputation: 58812

Edit in Preferences: Java -> Code Style -> Code Templates

Choose Comments -> Files -> Edit:

Upvotes: 1

Related Questions