vtst / ow

Various Eclipse plugins for web development

Home Page:http://www.normalesup.org/~simonet/soft/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LESS: compile on save

thSoft opened this issue · comments

It would be great if LESS files were automatically compiled to CSS. This can be achieved by registering an incremental builder. This project contains a similar solution, though it has to be configured manually: https://github.com/palantir/eclipse-less/tree/master/com.palantir.less/src/com/palantir/less

Whoa, you found our LESS builder plugin :) We didn't bother to give it UI for configuration since we didn't think anyone else was using it! We would be more than happy to help finish that up and contribute the compile-on-save functionality to this plugin (since this plugin is far more useful than ours).

I just finished my transpiler plugin, which does exactly that, see: https://github.com/gossi/eclipse-transpiler-plugin (and has a nice UI for it). I requested the same thing in #95 😉

I just asked on how to cooperate with this less plugin #204.

+1 Would be great.

I think using another plugin is not a good solution because this one is already compiling in a way to get errors.
So it would compile twice on save and with possible incoherence between outputs (depending on compilers version and options).
Compiling should be related to the editor because outputing errors in the editor is more friendly than outputing to the console (or than no output :S).