Format / beautifier / reindent underscore code block

I am developing an application using backbone and underline .

On my HTML page, I have several blocks and they are mixed with some underscore.

I used the template settings, for example:

print value: {{value_name}} excute code: {% code_to_execute%}

therefore, the source code contains heaps of {%%} blocks and HTML tags.

I’m tired of using the website of the online designer JS, but they don’t do a good job of formatting codes in beautiful clean blocks. I also tried to use the exalted own Reindent, this does not help either.

I'm just wondering if there are any tools for efficiently formatting underscore code.

+4
source share
1 answer

Visual Studio Express is free and will format your code better than anything else I've seen. I may be a little biased, but Visual Studio IMHO is the best IDE text editor. Web Storm is also pretty decent.

Ctrl + K + D to quickly format text in VS.

Visual studio express

Web storm

I would advise if you are going to do a lot of coding, do not rely on online development and formatting tools, just get yourself a good text editor.

0
source

All Articles