[Switch] settings: FTL template file editor

Source: Internet
Author: User

After studying the knowledge of the template engine freemarker in generating Word files, the blogger uses eclipse for development and uses the built-in JSP framework to edit FTL files,

Before editing the FTL file, if your eclipse does not specify the FTL editing method, you will be prompted to install an FTL template editor or use texteditor for editing (texteditor is not recommended ), I didn't choose to install the FTL template editor here, So I skipped it.

1. OpenEclipseEnterPreferences

2. In the pop-up dialog box, selectGenera l --> editors --> File AssociationsOption

3. ClickFiletypesAdd template file type on the right

4. After adding the file type, clickAssociated editorsClick the button on the right to add*. FTL EditorHere we useJSP Editor

5. the above operations specify. FTL file editor, And thenJSP EditorAdd in. FTL file typeClickContent typesSet

6. FindText --> JSP Fragment

7. ClickAdd buttonNew*. FTL type, SetEncoding format (default encoding)ChangeUtf_8You can.

8. Last clickApply and closeYou can.

To open the FTL file, pressCTRL + Shift + F formatThe template file looks much more convenient.

Original article: 79148327

[Switch] settings: FTL template file editor

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.