An Eclipse plug-in for compiling LESS files.
Java JavaScript
Latest commit 579edd9 Feb 4, 2015 @ashwinr ashwinr update less to 2.3.1

README.md

Eclipse Less Plug-in

An Eclipse builder plug-in for precompiling LESS files.

Installation

  1. Install Node.js.
  2. Open Eclipse and go to Help-Install New Software.
  3. Add the update site: http://eclipse-update.palantir.com/eclipse-less/.
  4. Reboot Eclipse.

Enabling the Builder

  1. Right-click on a project containing LESS files.
  2. Select Configure-Enable LESS Builder.

Configuring the Builder

  1. Create your-project/.settings/com.palantir.less.prefs
  2. Add Eclipse style key/value pairs for the root less files

A .settings/com.palantir.less.prefs might look like

srcFiles=src/app.less;src/login.less

Development

  1. git clone git@github.com:palantir/eclipse-less.git
  2. Run npm install --prefix com.palantir.less com.palantir.less in the root directory of the project to install npm dependencies.
  3. In Eclipse, right-click on the eclipse-less project and select Debug As - Eclipse Application.

Building the Eclipse Update Site

grunt
mvn clean install

The update site will be in com.palantir.less.p2updatesite/target/repository.