Eclipse中編輯xml的editor的templates模板就可以快速插入一段代碼

1)       eclipse中安裝spring tool suite插件,方便編輯xml配置文件

2)       例如:編輯web.xml時,輸入conte,然後按alt+/,列表中選擇#contextloaderlistener然後回車


3)       設置其它xmleditortemplates模板

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章