You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 21, 2021. It is now read-only.
You can use global keyboard shortcut ALT+SHIFT+F or right-click context menu Format code.
Or press F1 and run the command named stylefmt: Format CSS.
Supported languages
CSS
PostCSS
Less
SCSS
SugarSS
Supported settings
configBasedir
Type: string
Default: null
Base working directory; useful for stylelint extends parameter.
config
Type: object || string
Default: null
Config object for stylelint or path to a stylelint config file.
Will automatically look for .stylelintrc and stylelint.config.js in workspace root, or a stylelint param in the package.json, if config is omitted.
Warning!
If you want to specify a file in the current directory, the path must begin with a ./ or ../ if relative to the current directory. Also you can use HOME directory as ~ symbol.
useStylelintConfigOverrides
Type: boolean
Default: false
Overrides rules using Stylelint plugin settings.
showErrorMessages
Type: boolean
Default: true
Show error messages or not. Will be automatically set to false if editor.formatOnSave is enabled.
Keyboard shortcuts
For changes keyboard shortcuts, create a new rule in File -> Preferences -> Keyboard Shortcuts: