Avatar of allelopath
allelopath
 asked on

Automatically insert header in new java class

How do I setup Eclipse to automatically insert a header when I create a new Java class?
e.g. I would like something like this at the top of every new Java class file:
/*
 * Copyright 2010 Widgets Inc.,
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of Widgets Inc.
 *
 */
Java

Avatar of undefined
Last Comment
rodness

8/22/2022 - Mon
rodness

Go to Eclipse Preferences, Java, Code Style, Code Templates.

Edit the Code template for New Java Files accordingly.
ASKER CERTIFIED SOLUTION
rodness

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck