csstools / postcss-language

Support for modern and experimental CSS within Visual Studio Code
80 stars 11 forks source link

PostCSS Language Support PostCSS

Installs Rating Support Chat

PostCSS Language Support adds support for modern and experimental CSS within Visual Studio Code.

This extension is applied to .css, .pcss and .postcss files. It also applies to the following contexts:

Installation

  1. Open the command palette and select Extensions: Install Extensions
  2. Search for PostCSS Language Support
  3. Click Install

Adding Support for Emmet

  1. Open the command palette and select Preferences: Open Settings (JSON)
  2. Add the following configuration:
{
  "emmet.includeLanguages": {
    "postcss": "css"
  }
}

Differences from CSS Language Support

PostCSS Language Support is derived from the native CSS Language Support built into Visual Studio Code, which is itself derived from the native CSS Language Support for Atom. This extension includes the following changes:

Modern CSS Features

Syntactical Looseness