Less css compiler plug-in JetBrains IntelliJ platform, jetbrainsintellij

Source: Internet
Author: User

Less css compiler plug-in JetBrains IntelliJ platform, jetbrainsintellij

LESS CompilerThe LESS file can be monitored and automatically compiled into CSS when it changes. This plugin is only applicable to IntelliJ IDEA 11 +, PhpStorm 5 +, and WebStorm 5 + platforms. It has the following features:

  1. Recursive Directory Monitoring

    LESS CompilerWatches directories (and subdirectories) for changes to LESS files and automatically compiles them to CSS when they are saved in the editor (or when IntelliJ detects that they were modified outside the IDE ).

    You can monitor as your LESS directories as you like. You can also specify as your output directories as you like so that compiled CSS files will be copied to multiple locations (e.g., a localsrcDirectory under version control and a mountedtargetDirectory on a remote server ).

    The directory structure of the output CSS directories will be identical to the structure of the source LESS directory.

  2. @ Import Dependency Resolution

    Files that@importA modified LESS file will be re-compiled automatically.

    For example, ifhome.less,about.less, Andcontact.lessAll@import "common.less", Modifyingcommon.lessWill cause all three dependents to be re-compiled as well.

  3. Include/Exclude File Patterns

    Prevent specific LESS files from being compiled by specifying include/exclude patterns (glob) that match against filename, folder name, or any part of the complete path to the LESS file.

  4. Move, Copy, and Delete Detection

    When a LESS file is moved, copied, or deleted,LESS CompilerWill offer to do the same to the corresponding CSS file (s ).

  5. Virtual Filesystem specifications

    Unlike other solutions, this plugin is smart enough to define y IntelliJ when CSS files are changed, moved, copied, or deleted. in most cases, updated CSS files will be immediately reflected in the editor and Project tree view.

  6. Selective Compilation

    If the plugin somehow fails to catch changes to a LESS file, simply right-click anywhere in the editor or Project tree and select "Compile to CSS ". you can also compile an entire directory by right-clicking on it in the Project tree.

  7. Error configurications

    Any errors encountered during the compilation process will produce an error notification balloon in the IDE containing a link to the file and the line number that caused the error

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.