csslessadobe-brackets

How do I compile LESS code using Brackets?


I use Brackets as my text editor. How can I compile and convert my LESS code into CSS?

The following is a link from where I downloaded the LESS compiler but I don't know how to convert my code into CSS.

https://github.com/jdiehl/brackets-less-autocompile


Solution

  • You can install less-autocompile extension directly in Brackets using the second icon at the right of the editor. (I guess you are using last version of Brackets).

    By default, when you save a less file, it will look for every .less file and compile them to .css files. If you want to produce a single .css file, you'll have to add lines at the top of your less files.