vscode-sass-indented
vscode-sass-indented copied to clipboard
Unindent after second Enter
Is your feature request related to a problem? Please describe. Sass-indented does indent properly but in order to start a new definition the indent must be removed. It would be great if the indentation level goes down after a second enter key.
Describe the solution you'd like
- Start a new rule by typing a descriptor
- Add definitions, followed by enter
- After a second enter-key create a new line and reduce indentation one level
- After a third enter-key do the same
Describe alternatives you've considered Find the backspace key
Additional context

thanks for creating this issue, i probably won't implement it, but feel free to make a pr.
If you do implement it @theking2, please make it optional and off by default. I'm more likely to be adding another indentation or working on a sibling element than I am going up.
But not after a second enter? I inderstand this is matter of style preference but for me a sub element is never preceded by an empty line.
Quick grab of what I'm working on right now:
Yup, definitely a style choice. I like whitespace.
I'm also in the habit of using cmd + [/] to quickly change indent level anyway, so anything that makes that harder is just annoying 😅
Yeh okay, I do appreciate that feature when writing bulleted lists. Maybe if a config option can be set in settings.json file to allow for new lines between blocks?