Mercer
Mercer

Reputation: 9986

automatically generate header

I wonder if you could automatically generate header header class functions automatically for a given package (make a batch processing) ..?
Thank you.

Upvotes: 0

Views: 436

Answers (2)

Bolo
Bolo

Reputation: 11690

In Eclipse, place the cursor over the name of the class and press Ctrl-Shift-J. You can customize the comment in Window->Preferences->Java->Code Style->Code Templates.

Upvotes: 1

Alberto Zaccagni
Alberto Zaccagni

Reputation: 31580

If I've understood well what you're asking:

Window -> Preferences -> Java -> Code Style -> Code Templates

There you could configure what goes at the top of the class each time you create one for instance.

Edit after op comment clarifying the question: this is not valid if you already have a class, this come into play if you have to create it.

Upvotes: 0

Related Questions