Watches directories for changes to LESS files and compiles changed files to CSS.
Supports LESS 1.6.0.Features: Recursive directory monitoring
When a LESS file in a watched directory (or one of its subdirectories) is modified and saved, it is automatically compiled to CSS and copied to the same relative path in one or more output directories.
@import a modified LESS file are also recompiled automatically.
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.Move, copy, and delete detection
When a LESS file is moved, copied, or deleted, the plugin will offer to perform the same operation on the corresponding CSS file(s).Virtual filesystem notification
Unlike other solutions, this plugin is smart enough to notify 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.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.Error notifications
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.Screenshots:
Screenshots are available at the LESS CSS Compiler page on the IntelliJ Plugin Repository website.Source Code:
NOTE: This plugin is ONLY compatible with IntelliJ IDEA 11+, PhpStorm 5+, and WebStorm 5+. It should also be compatible with RubyMine 4.5+, but has not been tested.