是否可以在 Eclipse 中定义多个 PHP 文件模板?

Is it possible to define multiple PHP file templates in Eclipse?

在Eclipse中新建文件时,我select"New PHP File",源码位于Eclipse/Preferences/PHP/ Code Style / Code Templates / Simple php file。我想为我们系统中的每个 API 方法创建多个 "New PHP File" 条目,例如 "New GET File"、"New POST File" 等。这可能吗?我试过导出、编辑和导入 xml 文件,但到目前为止没有成功。

不,这是不可能的,另请参阅官方 eclipse 错误:https://bugs.eclipse.org/bugs/show_bug.cgi?id=318164