A Visual Studio Code Extension that allows you to generate a .less skeleton file from HTML markup.
Add
<!-- lessgen@path/to/file.less -->
To the first line of the .html file to specitfy the save path of the generated .less file.
- Run
npm install
in terminal to install dependencies - Run
npm run watch
in terminal - Run the
Run Extension
target in the Debug View. This will:- Run the extension in a new VS Code window