You want to compile your Less files when you save them, but you don't want to instal nodejs just for this... So, you're stuck... Guess what? You're not because of this repo ;)
This plugin compiles automatically your less files as soon as you save them, using a lesscpy.
To use this plugin, you need to organize your styles in a specific way:
styles/
less/
what/
ever.less
you/
want.less
really.less
css/
# your less file will be compiled here with the same structure
what/
ever.css
you/
want.css
really.css
The installation is for now a bit tricky, because lesscpy's got some (small) dependences
Go to your package folder (of sublime text), create a new file, and paste this content in it.
This one is a bit harder to install. You need to copy this folder into you package folder. You an use this website to do so. Extract it into Packages
as a folder named ply
. Download .zip
Same as ply
, you need to download this folder and extract it into you package folder. Download .zip
Last step: get into your package directory and clone
this repo (or download the zip and extract it).
At the end, your packages
folder should look like this:
Packages/
...
User/
ply/
__init__.py
cpp.py
ctokens.py
lex.py
yacc.py
ygen.py
lesscpy/
less2css.py
README.md
...
six.py
Hope you enjoy it!
If you have any idea how to improve it, feel free to PR this repo, or if just tell it to me, I might manage to do it myself!