Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Clever CSSNew to Visual Studio Code? Get it now.
Clever CSS

Clever CSS

Daniel Zambrano

|
3 installs
| (0) | Free
Augmented Intellisense for CSS files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Clever CSS

Augmented Intellisense for CSS files.

Features

Class Autocompletion

CSS class completion as you type.

Class Autocompletion

Diagnostics

Warnings for unused and duplicated CSS classes (configurable).

Diagnostics

Tree View

A tree view of all CSS classes in your workspace. Clicking on a class will navigate to its definition.

Tree View

Definition Provider

Navigate to the definition of a CSS class with Ctrl/Cmd + Click. Also see the definition on hover.

Definition Provider

Reference Provider

Find all definitions and usages of a CSS class when you execute the Find All References command.

Reference Provider

Requirements

  • VS Code 1.120.0 or higher

Extension Settings

You can disable diagnostics in your settings.json:

{
  "clever-css.diagnostics": {
    "unusedClasses": false, // Disable unused class warnings
    "duplicatedClasses": false // Disable duplicated class warnings
  }
}

File Support

Currently, the extension detects classes only for HTML and JSX/TSX files.

Known Issues

The tree view, definitions, or references have become out of sync

If the extension ever becomes out of sync, you can click the refresh button in the "All Classes" tree view to force a rescan of your workspace.

Tree View

If you can reproduce the problem, I'd appreciate it if you could open an issue!.

I don't see some definitions in references when I execute the Find All References command

Built-in VS Code reference provider should provide references for definitions found in the same file. If you don't see them, VS Code may not be recognizing your file as a CSS file, probably because you have an extension like PostCSS Language Support installed. The solution is to configure file associations of CSS files in your settings.json:

{
  "files.associations": {
    "*.css": "css"
  }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft