SASS Template Generator
A VSCode Extension to generate a SASS/SCSS Template from a given HTML or JSX.
Generate a template from your given HTML or SCSS instead of having to type out the skeleton yourself.
The only requirment for the given extension is
One of the issues that I am currently working to fix is when you have multiple elements as a child, with the same tag, without any class or ID, so the extension generates a parent with 4 child with the same name.
For example, Input:
It will be converted to Output:
If you face any other issues while using the extension, please create an issue in the issues tab.
Release Notes for SASS Template Generator
Minor bug fix. The regex pattern I used was in the greedy mode, which should have been lazy mode. Which lead to a minor bug in cases like.
Initial release of SASS Template Generator
If you have any feedback, please reach out to me at firstname.lastname@example.org