原文:https://www.cnblogs.com/Java-Starter/p/9340225.html 定义类模板 依次打开File->Settings->File and Code Templates->Files,