I am looking at using Eclipse for a project and there are several copy paste requirements for each class, to fit the project requirements.
I have looked in Window > Preferences > Java > Editor > Templates, and a few other seemingly related areas of the preferences with no luck so far.
When I create a new class, say A for example, Eclipse creates the following code:/** * */ package packagename; /** * @author jps * */ public class A { }
What I would like to have is the following code:Question #1: How do I get the saved file name and the Comments 1-4 to be generated by eclipse? -or is it not possible?/** nameThisFileIsSavedAs.Extension */ package packagename; /** * @author jps * */ public class A { /* Comment 1 */ /* Comment 2 */ /* Comment 3 */ /* Comment 4 */ }
Question #2: Is there a way to make the first comment, where the file name goes, appear all on one line (as shown in my desired code sample)?