Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CSS Class IntellisenseNew to Visual Studio Code? Get it now.
CSS Class Intellisense

CSS Class Intellisense

Tarrow

|
63,349 installs
| (2) | Free
CSS Class Intellisense
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

css-class-intellisense

Build Status

Html/Vue/Jsx/PHP id/class attribute completion

Features

  • Html/Vue/Jsx/PHP id/class attribute completion (Include Vue/Jsx imported CSS/SCSS/LESS file)

    the official VUE plugin has implemented CSS intellisense, use this configuration item "cssci.languages.vue": false if there is a conflict.

  • Jump to definition or reference

  • Rename (May conflict with other extensions, cannot currently be resolved, use with care)

  • Limited language support for web extensions (issues)

Usage

Global

Create the cssconfig.json file to specify global CSS:

{
  "globalCssFiles": ["https://getbootstrap.com/docs/5.2/dist/css/bootstrap.css", "../main.css"]
}

Using the include and exclude properties:

{
  "globalCssFiles": ["https://getbootstrap.com/docs/5.2/dist/css/bootstrap.css", "../main.css"],
  "include": ["**/*.{vue,tsx}"],
  "exclude": ["**/*.html"]
}

Embed

<!doctype html>
<html>
  <head>
    <style>
      .hello {
      }
    </style>
  </head>
  <body>
    <div class="hello"></div>
  </body>
</html>
<template>
  <div class="hello"></div>
</template>

<style>
.hello {
}
</style>

Link

<!doctype html>
<html>
  <head>
    <link rel="stylesheet" href="https://getbootstrap.com/docs/5.2/dist/css/bootstrap.css" />
  </head>
  <body>
    <div class="accordion"></div>
  </body>
</html>

Import

import "./App.scss";

export default function App() {
  return <div className="hello"></div>;
}
<template>
  <div class="hello"></div>
</template>

<script>
import "./App.css";
</script>
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft