*.ftl 等后缀文件 在 eclipse 以HTML格式打开

方法:

找到windows->preferences->Content Types->HTMLwindows

点击添加 *.ftl 就OK了eclipse

对于ftl模板文件就能够以HTML打开了spa

Freemarker *.ftl后缀文件 在 eclipse IDE以HTML格式打开