1、打開eclipse,點擊window菜單,選擇preferences。
2、選擇General->Editors->File Association。
3、點擊file types 右邊的add按鈕,出現如下圖的對話框,輸入*.ftl。
4、輸入*.ftl後,點擊ok,然後file types列表,會多出來壹個ftl文件類型,選中。
5、點擊Associated editors右邊的add按鈕,出現文件關聯類型,選擇JSP Editor。
6、設置好後,再打開剛才的頁面進行註釋。
1、打開eclipse,點擊window菜單,選擇preferences。
2、選擇General->Editors->File Association。
3、點擊file types 右邊的add按鈕,出現如下圖的對話框,輸入*.ftl。
4、輸入*.ftl後,點擊ok,然後file types列表,會多出來壹個ftl文件類型,選中。
5、點擊Associated editors右邊的add按鈕,出現文件關聯類型,選擇JSP Editor。
6、設置好後,再打開剛才的頁面進行註釋。