vtst / ow

Various Eclipse plugins for web development
http://www.normalesup.org/~simonet/soft/
74 stars 29 forks source link

LESS: compile on save #189

Open thSoft opened 10 years ago

thSoft commented 10 years ago

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

derekcicerone-zz commented 10 years ago

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).

gossi commented 10 years ago

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 :wink:

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

felicienfrancois commented 10 years ago

+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).