Alex Rivera | Logout

How to add copyright to Eclipse Helios?

Asked 2011-05-08T06:07:35.793
12

The title says everything. If I want to add copyright comment in code files in Eclipse Helios, how can I do it? Manually copy-paste or is there any other way?

Edit
Report

1 Answer

10

Go to preferences Java/CodeStyle/Code Templates

then expand Code, and New Java Files, edit that, and put in whatever text you want. Now whenever you create a class, that will be automatically injected.

answered 2011-05-08T06:46:31.053

Your Answer