Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Highlight Unused CSSNew to Visual Studio Code? Get it now.
Highlight Unused CSS

Highlight Unused CSS

dasmain

|
2 installs
| (0) | Free
Highlight Unused Global CSS Classes From Files or Project
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Highlight Unused CSS

Highlights unused CSS/SCSS classnames in global stylesheets such as index.css or index.scss.
This makes it easier to clean up and maintain your styles by spotting unused selectors directly in VS Code.


Features

  • Automatically scans your global stylesheet (index.css / index.scss)
  • Highlights classes that are not used anywhere in your project
  • Works with JavaScript / TypeScript / React / Next.js projects
  • Updates automatically as you edit files

Extension Settings

You can configure the paths to your global CSS/SCSS files in your VS Code settings.json:

{
  "highlight-unused-css.scssPath": "src/index.scss",
  "highlight-unused-css.cssPath": "src/index.css"
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft