Make zen coding support less file in sublime text2
-
28-10-2019 - |
Question
How can I make zen coding support less file in sublime text2?
Solution
Install latest version of ST 2 (right now, -build 2165), and using package control (version 1.4.1), install the zen coding plugin (rather package). Then the expansion engine works fine.
I am windows user, and it was not working until last version (-build 2139), though MAC users were approving its execution.
Links:
Awesome Software and both plugins too.
Edit:
Sorry, the answer is not relative, but still let it be here as it is the best alternative till date.
To see what is your expansion key, go to :
$PACKAGES_PATH/ZenCoding/zen-settings.sublime-settings for keys and their default values.
Please give an example how you want to employ LESS using ZC,
like for html, we use:
.container>(.content>.article>.p>lorem)+(aside>h1{Side Bar}+ul>li*4>a{home,about,contact,blog})
My personal opinion will be using ST 2's snippet-expansion.
Never mind, To learn more about how to adapt for LESS, Try this source instead:
Learn Zen-Coding from its developer ;-P .