mrcrowl / vscode-easy-less

Easy LESS extension for Visual Studio Code
MIT License
67 stars 23 forks source link

Please add compiling options #1

Closed thecosss closed 8 years ago

thecosss commented 8 years ago

It would be nice if i can do //main:style.less to compile the main file. Also project-wide options like here https://github.com/jdiehl/brackets-less-autocompile would be cool to

mrcrowl commented 8 years ago

Nice! Hadn't seen that approach before. Will see what I can do.

mrcrowl commented 8 years ago

The options should now be available in v1.1.0. Let me know how you get on.

thecosss commented 8 years ago

The description is a bit tricky for me. I have two main files: master-desktop.less and master-mobile.less and a bunch of small files that are included to masters. I want to compile only these 2 master files every time i save for example 'header.less'. So i can't figure out how can i achieve this.

mrcrowl commented 8 years ago

To make sure I fully understand: could you send me a set of files to demonstrate the problem you would like to address?

On Fri, 12 Feb 2016 at 20:47 thecosss notifications@github.com wrote:

It would be nice if i can do //main:style.less to compile the main file. Also project-wide options like here https://github.com/jdiehl/brackets-less-autocompile would be cool to

— Reply to this email directly or view it on GitHub https://github.com/mrcrowl/vscode-easy-less/issues/1.

thecosss commented 8 years ago

css.zip This is ongoing project. I'm making it with Brackets right now. I have 2 main files: style.less and mobile.less. So every time i save any of these 34 files i want to compile only 2 main files.

mrcrowl commented 8 years ago

I've now added support for multiple main files in v1.2.5. See #5 on the FAQ for more detail. One thing to be aware of right now is that the main files when specified in settings.json are relative to the file being saved (which is not ideal). So it may be best to use the per file option for now.