CSS Whitespacer Smart Indent
USAGEmove the css parent, select your text press ExampleBefore:
After:
Whitespace only. Open a CSS file. Tab out (move right) your parent selectors as you wish (space out) "4-8-12+ spaces etc regular tabsize", select all and press alt+shit+f the children you selected will follow regularly under their parents according to parents space instead of everything being organized to the left automatically. Open a CSS file. Select the CSS you want to fix (or press WHAT IT DOES: It moves CSS children to match the whitespace of their parent selector. INTENTTHE GOAL IS TO ORGANIZE CSS USING WHITESPACE. THAT'S IT. You can use whitespace to make your CSS look more like your HTML structure, making it easier to see which CSS belongs to what.
Just tab your CSS selectors to where you want them, select the relevant text (or everything with ORGANIZE YOUR CSS HOWEVER YOU WANT. MAKE IT MIRROR YOUR HTML. MAKE IT EASIER TO READ. IT'S YOUR CSS. The extension only changes whitespace and indentation in the CSS file. It does not change your CSS rules or styling. A lightweight Visual Studio Code extension that automatically formats whitespace and indentation in CSS files. Features
Usage
Requirements
Keyboard Shortcut
The shortcut applies when a CSS editor has focus. SupportFor issues, suggestions, or feature requests, please use the extension's issue tracker if one is available. LicenseSee the project's |
