Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>css-variablesNew to Visual Studio Code? Get it now.
css-variables

css-variables

mscolnick

|
5,350 installs
| (0) | Free
Intellisense for CSS Variables defined in your config
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

css-variables Intellisense via vscode settings

Features

  1. Auto-complete var().
  2. Auto-complete CSS variables from that are set in user or workspace vscode settings. Triggered by -

Config

CSS Variables are populated from the the user's configs.

  "css-variables": {
    "variables": {
      "color-": ["blue", "green", "red"],
      "shadow-": ["xs", "md", "lg"],
    }
  },

This will create variables

    [
        "--color-blue",
        "--color-green",
        "--color-red",
        "--shadow-xs",
        "--shadow-md",
        "--shadow-lg",
    ]

Changelog

CHANGELOG.md

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