Development tools for the tiny template engine

Source: Internet
Author: User

To be a first-class template engine, it is necessary to be a first-class template editor.

Tiny template engine has been introduced for some time, but because its syntax is independent, so the editor can only use the general text editor, but the editing efficiency is naturally low. Another way is to use the velocity editor for editing, but the problem often has the wrong syntax hints, some grammar can not be correctly prompted, in short, but all in all, is not good use. The question has already come, what should I do? The answer is, of course, better to have a own one.

Now, the proprietary editor of the tiny template engine comes up!

Feature Introduction
    1. Outline support: Supports displaying key content in the outline, and can quickly locate
    2. Syntax highlighting: support for coloring in the editor, based on syntax, making code easier to read and debug
    3. Error TIP: If there is an error in the template language, you can make an error in the project navigation, error view, and edit window
    4. Code folding: Support code folding for code blocks for easy reference
    5. Syntax hints: Support tiny template engine syntax hints and HTML syntax hints for quick entry
Introduced

Outline support, now supports macro definition, layout definition, layout implementation, variable definition four, you can quickly locate and select the relevant content by double-clicking the node in the outline tree

Syntax coloring, the color here is my own mess, only for the display effect, the back will let the artist carefully match the color

Error prompt, when the written template has errors, in the project navigation, editing window and error view will be displayed synchronously:

Click the X in front of the editor to display detailed error messages:

Code Folding

Syntax hints

Also support fuzzy matching, you can see the input OC, actually filtered only contains the content of O and C hints

In addition to the template language hints, support for HTML syntax is also supported:

Of course, support for HTML is not just a support tag, and attributes are supported:

Summarize

To some, the editor of the tiny template engine is displayed almost, with the support of the tool, the overall development efficiency can be significantly improved.

Of course, there are some shortcomings in its function, there will be some additional detail features to consider increasing:

    1. Press Ctrl+alt+mouseclick Click #end, jump to the beginning of the corresponding, click the beginning of the label such as: #macro的时候, jump to #end
    2. Formatting

Students are also welcome to put forward new needs have suggestions.

This plugin will be released soon, interested students, please pay attention to my relevant information.

Development tools for the tiny template engine

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.