berfarah / LESS-build-sublime

Less build sytem for Sublime Text 2
Apache License 2.0
91 stars 14 forks source link

[Suggestion] Possibility to choose parent files to be compiled #26

Open griiettner opened 11 years ago

griiettner commented 11 years ago

Hello and thanks for this awesome plugin that is been very handy for my everyday job.

I would suggest the possibility to choose the files to be compiled when hit F7 key. I'll give you an example of how it would work.

Lets say you are working on a template to whatever CMS, in my case Joomla, using Bootstrap as framework. We all know that bootstrap LESS files are fragmented in several small LESS files, and at the end you generate bootstrap.css and responsive.css. So, currently, you have to leave bootstrap.less file open, work on whatever less file, and need to always switch back and forward between files and bootstrap.less in order to compile it.

The idea is, to create a user settings file, where we choose what files should be compiled, in bootstrap case, only bootstrap.less and responsive.less, so, when ever we hit the F7 key, in what ever less files, only those 2 LESS files would be compiled...

I hope I was clear enough on my explanation...

Thanks and keep up the awesome work...

griiettner commented 11 years ago

I forgot to say that I'm currently working as suggested, but I have to me editing the "LESS.sublime-build" file to each project, so it behaves as desired...

Would be great if this feature could be added... I wish I knew how to make this to happen, but I'm dummy on py... thanks...

emjayess commented 10 years ago

:+1: