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

palantir/eclipse-less

Repository files navigation

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:https://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 [email protected]: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.

About

An Eclipse plug-in for compiling LESS files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published