How to add copyright to Eclipse Helios?

Tapas Bose picture Tapas Bose · May 8, 2011 · Viewed 8.4k times · Source

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?

Answer

MeBigFatGuy picture MeBigFatGuy · May 8, 2011

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.