969.CSS-formatter. This is a custom CSS formatter for VSCode that preserves blank lines and ensures single-property rules remain inline. It works just fine with @layers and crazy comments everywhere.
✔ Preserve blank lines
✔ Collapse single-property rules into one line
✔ Auto-indent and clean formatting
✔ Works with CSS (LESS/SCSS NOT implemented)
- Clone this repo
- Run
npm install - Run
npm run compile - Open in VSCode and press
F5to test
Open any CSS file and use Format Document (Shift + Alt + F).
MIT