eclipse下如何打开ftl文件

  1. 1.打开eclipse,点击window菜单,选择preferences
  2. 2.选择General->Editors->File Association,
  3. 3点击file types 右边的add按钮,出现如下图的对话框,输入*.ftl,输入*.ftl后,点击ok,然后file types列表,会多出来一个ftl文件类型,选中
  4. 4点击Associated editors右边的add按钮,出现文件关联类型,选择JSP Editor,选中点击ok
  5. 5.然后,再从content Types中关联一下,设置好就可

你可能感兴趣的:(eclipse下如何打开ftl文件)