Just modified the plugin for myself as the required settings were not found.\
P.S. I'm not an active github user (newbie), but I want to offer a good feature.\
P.P.S. Also, I have not dealt with plugins for VSCode before.
I added two parameters "indent" and "useTabs" in package.json at liveSassCompile.settings.formats:
"default": [
{
"format": "expanded",
"extensionName": ".css",
"savePath": null,
"indent": 2,
"useTabs": false
}
],
"minItems": 1,
"items": {
"type": "object",
"properties": {
...
"indent": {
"description": "Set indentation value for spaces.\nNote: this parameter has no effect when the parameter useTabs is set to true.",
"type": "integer",
"default": 2
},
"useTabs": {
"description": "Set it as `true` if you want to use tabs instead of spaces.",
"type": "boolean",
"default": false
}
},
...
}
In appModel.js i added function validateIndentSize(indent) under getCssStyle(format)
Just modified the plugin for myself as the required settings were not found.\ P.S. I'm not an active github user (newbie), but I want to offer a good feature.\ P.P.S. Also, I have not dealt with plugins for VSCode before.
I added two parameters
"indent"
and"useTabs"
in package.json atliveSassCompile.settings.formats
:In appModel.js i added function
validateIndentSize(indent)
undergetCssStyle(format)
indent
to theoptions
in functionGenerateAllCssAndMap
atformats.forEach(format => { . . . })
:I really hope that you will add this feature in the future.