Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Latest commit

 

History

History
44 lines (28 loc) · 1.79 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.79 KB

About

Implements LESS into Komodo.

Install

Download the latest version and open it with Komodo or follow these instructions

Use

Goto to Tools -> LESS and select an option.

  • Compile Saved File into CSS takes a .less file and creates a .css file with the same name in the same directory as the .less file.
  • Compile Current Buffer into CSS takes the contents of the current buffer and turns it into CSS.
  • Compile Selection into CSS takes the current selection and turns it into CSS.
  • Compile and Compress Saved File into CSS takes a .less file and creates a .css file with the same name in the same directory as the .less file and compresses it.
  • Compile and Compress Current Buffer into CSS takes the contents of the current buffer and turns it into CSS and compresses it.
  • Compile and Compress Selection into CSS takes the current selection and turns it into CSS and compress it.

Macro

You can create a macro that will automatically turn a .less file into CSS when you save. Use the following code and have it trigger After file save:

if (extensions.less) {
    extensions.less.compileFile();
}

The following macro will compile and compress the CSS when you save a file:

if (extensions.less) {
    extensions.less.compileCompressFile();
}

Change Log

1.2.0

  • Updated the LESS compiler to version 1.2.1
  • Added support for saving Remote Files.
  • Added a preference pane to turn off debug messages when saving files.

1.1.0

  • Added support to compile and compress LESS files