Skip to content

1000ch/vscode-clean-css

Repository files navigation

vscode-clean-css GitHub Actions Status

Fully featured clean-css plugin for Visual Studio Code.

Install

Execute Extensions: Install Extensions command from Command Palette (Cmd Shift P) and search by clean-css.

Also you can install this extension locally by putting symbolic link from ~/.vscode/extensions to ~/path/to/this/repo like below.

$ ln -s ~/workspace/github.com/1000ch/vscode-clean-css  ~/.vscode/extensions/1000ch.clean-css-local

Usage

Open the Command Palette (Cmd Shift P) and search following commands.

  • clean-css: Minify current CSS file: to minify current CSS file
  • clean-css: Format current CSS file: to format current CSS file

You can also execute these commands from context menu of Explorer or Editor.

You can use commands from the context menu of editor view

Config

You can configure css-clean options via Configure Extension Settings.

License

MIT © Shogo Sensui