Eclipse中编辑xml的editor的templates模板就可以快速插入一段代码

1)       eclipse中安装spring tool suite插件,方便编辑xml配置文件

2)       例如:编辑web.xml时,输入conte,然后按alt+/,列表中选择#contextloaderlistener然后回车
Eclipse中编辑xml的editor的templates模板就可以快速插入一段代码
Eclipse中编辑xml的editor的templates模板就可以快速插入一段代码

3)       设置其它xmleditortemplates模板
Eclipse中编辑xml的editor的templates模板就可以快速插入一段代码