idea创建yml文件 左上角的file–>settings–>Editor–>File and Code TTemplates–>"+"加号(左边的选项框上面)–>Name:YML 后缀Extension:yml–>apply->ok new之后就可以看见YML新建了