A Visual Studio Code extension wrapper around stylefmt, a CSS/SCSS/Less formatter. Current version 2.9.1, actively maintained fork of the original mrmlnc/vscode-stylefmt. Integrates with stylelint rules to format indentation, spacing, and ordering while respecting stylelint configurations. Differentiates from Prettier by being less opinionated and preserving SCSS mixin/map formatting. Supports CSS, SCSS, Less, PostCSS, and SugarSS. Released on VS Code Marketplace and updated regularly since the original went unmaintained in 2018.
npm install vscode-stylefmtNo compatibility data collected yet for this library.
Shows installation via VS Code settings and basic configuration for CSS and SCSS formatting on save.
Uninstall and install ronilaukkarinen.vscode-stylefmt 2.x from Marketplace.
Install stylelint and create a configuration file (e.g., .stylelintrc.json).
File issues at https://github.com/ronilaukkarinen/vscode-stylefmt/issues
Set 'indentation' rule in stylelint config.