Sublime Text plugin: Html+css+javascript+json quick format [go]

Source: Internet
Author: User
Tags sublime text

today on GitHub, inadvertently find Victorporof share htmlpretty plug-in, special recommendation;


Let's see how he describes Htmlpretty:

This is a Sublime Text 2 and 3 plugin allowing your to format your HTML, CSS, JavaScript and JSON code. It uses a set of nice beautifier scripts made by Einar Lielmanis. The formatters is written in JavaScript, so you ll need something (node. js) to interpret JavaScript code outside the brow Ser.

This would work with either HTML, CSS, JavaScript and JSON files.

After the installation test, the effect is very good, the installation process is briefly described as follows:
    • In sublime text, press ctrl+shift+p to bring up the command panel;
    • Enter install to bring up the Install Package option and enter;
    • Enter pretty, and select html-css-js prettify in the list and enter to install
Quick ways to use:

Example:
Open a compressed Jquery.min.js file and press ctrl+shift+h

In situ: http://jokerliang.com/html-css-javascript-and-json-code-formatter-for-sublime-text-2-and-3.html

Sublime Text plugin: Html+css+javascript+json quick format [go]

Related Article

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.