Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij IDEA 11: how can I compile .css from .less?

how can I compile .css from .less in intellij ? sure this should be dead easy, but its got me stumped. anyone know how to do this?

like image 757
zack Avatar asked Jan 13 '12 00:01

zack


1 Answers

I wrote a LESS Compiler plugin that automatically compiles LESS files to CSS whenever they change.

You can configure multiple LESS directories to watch per project, and the output of each will be copied to one or more output CSS directories that you specify:

LESS Compiler project settings window

You can include / exclude specific files by using path patterns in the settings dialog.

It will also detect when you move, copy, or delete a watched LESS file and offer to perform the same operation on the corresponding CSS file(s).

The plugin is open source, so you can view and fork the source code on GitHub if you like.

like image 190
Andy Dvorak Avatar answered Oct 19 '22 05:10

Andy Dvorak