freemarker,*.ftl文件在eclipse中正确的打开方式

解决方式一:下载eclipse相关的freemarker插件

解决方式二:本文重点介绍的,原生解决方式,方法特点无需下载插件,和eclipse编辑html和jsp文件一模一样

步骤:

1:windows---prefenrences---general---edirors---Files Associations

新增一个*.ftl 文件类型。管理JSP Editor  打开,点击ok

:

2:windows---prefenrences---general-----content Types

原文地址:https://www.cnblogs.com/qq3111901846/p/7928502.html