Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Clean CSS for VSCodeNew to Visual Studio Code? Get it now.
Clean CSS for VSCode

Clean CSS for VSCode

Travis71i

|
3,359 installs
| (0) | Free
Format your CSS files using Clean CSS as a VSCode extension
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Clean CSS for VSCode

Visual Studio Marketplace Version Visual Studio Marketplace Installs David LICENSE

Notes: The functionality of this extension depends entirely on Clean CSS. Thanks to jakubpawlowicz for creating and managing it!

What's new

Clean CSS has been updated to version 5.0. You can see what has changed here.

These changes affect the functionality of the extension, but will not affect how it is handled in VSCode. Except for :

Changes default Internet Explorer compatibility from 10+ to >11, to revert the old default use { compatibility: 'ie10' } flag;

To see a list of all the changes in this extension see CHANGELOG.md.

Features

  • Compress CSS files using Clean CSS optimizer.

Before After

  • Quickly format using different presets, in the editor context menu.

Editor Context Menu

  • Use "Clean CSS: Format Document" command (Shift+Alt+F) to format using user settings.

Settings UI

Extension Settings

Debug Tool

Show Output

cleanCSS.debugTool.showOutput: Display information about formatter usage on an output channel.

Clean CSS: Debug Output Channel example

Formatter Options

All options in this group go directly to the formatter. cleanCSS.formatterOptions object is an options object of Clean CSS.

See Clean CSS: Options for more info about the options object.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft