Man of few words said, self-google.
Set shortcut keys to open the eclipse, and then click Open: Window -> Preferences -> General -> Key.
Shortcuts setup code, punch eclipse, and then click Open: Window -> Preferences -> Java -> Editor -> Template.
After a few shortcuts where you can define your own code is set, for example, I've set up psfs, in the Template, then I typed in the code psfs, fast Alte + / will come out of my own custom code.
Other shortcuts Refer to a blogger:
https://www.cnblogs.com/mq0036/p/4995390.html