Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

palantir/eclipse-less

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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.

About

An Eclipse plug-in for compiling LESS files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published