Git Product home page Git Product logo

vscode-csso's Introduction

vscode-csso GitHub Actions Status

Minify CSS with CSSO.

Install

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

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-csso  ~/.vscode/extensions/1000ch.csso-local

Usage

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

  • csso: Minify current CSS file: to minify current CSS file
  • csso: Minify selected part of CSS: to minify selected part of CSS

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

true as default. If you want to disable, set false.

License

MIT © Shogo Sensui

vscode-csso's People

Contributors

1000ch avatar dependabot-preview[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vscode-csso's Issues

Illegal value for `line` error

Hi,
I try to process the following compressed CSS code
.card{box-shadow:none;border:1px solid grey}.foo{color:red}.bar{color:rgba(255,0,0,1)}

VSCode sends me the error : Illegal value for line error.

However if I send some Code Beautifer again, and then apply CSSO, it finally works and outputs
.card{box-shadow:none;border:1px solid gray}.bar,.foo{color:red}

Any idea ?
Thanks for help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.