Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: change default file templates

How can I change the default file templates for new classes, interfaces, JavaEE servlets, etc. in Eclipse? I know that it is possible somehow, but I did some research, and haven't found any information about it.

like image 550
Victor2748 Avatar asked Apr 29 '26 16:04

Victor2748


1 Answers

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

There you can edit existing code templates and even import new ones.

like image 139
WrongRhyme Avatar answered May 01 '26 07:05

WrongRhyme



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!