Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

windicss-intellisense

> 前端框架
Open source

Intelligent WindiCSS tooling for VS Code

194 stars0 likes1 views
WebsiteGitHub

About

Intelligent WindiCSS tooling for VS Code

⚠️ Windi CSS is Sunsetting ⚠️

We are sunsetting Windi CSS and we recommend new projects to seek for alternatives. Read the full blog post.

Windi CSS Intellisense

Windi CSS IntelliSense enhances the Windi development experience by providing Visual Studio Code users with advanced features such as autocomplete, syntax highlighting, code folding, and building.

Installation

Install via the Visual Studio Code Marketplace →

Install via the Open VSX Registry →

This plugin packs a windicss compiler, so you can use it without installing windicss, and it also supports the configuration file (tailwind|windi).config.(js|cjs|ts).

Configuration

By default VS Code will not trigger completions when editing "string" content. Updating the editor.quickSuggestions setting may improve your experience:

json
"editor.quickSuggestions": {
  "strings": true
}

Vscode css validation may display errors when using windi syntax, such as @apply. You can disable this with the `css.validate setting:

json
"css.validate": false

Features

Autocomplete

Intelligent suggestions for utilities and variants.

Hover Preview

See the complete CSS for a class name by hovering over it.

Syntax Highlighting

Highlight utilities, variants and importants.

Color Preview

Preview color and spectrum.

Code Folding

disabled by default, activate with "windicss.enableCodeFolding"

Fold overly long classes to increase readability.

Compile Commands

Built-in commands, one-key operation.

Visual Analyzer

Browse your utilities usages, have an overview of your design system, identify "bad practices", and more!

Extension Settings

Settings type default description
windicss.enableColorDecorators boolean true Enable Color Decorators.
windicss.enableHoverPreview boolean true Enable hover className to show preview of CSS.
windicss.enableCodeCompletion boolean true Enable/Disable all code completions.
windicss.enableUtilityCompletion boolean true Enable Utility Completion.
windicss.enableVariantCompletion boolean true Enable Variant Completion.
windicss.enableDynamicCompletion boolean true Enable Dynamic Utilities Completion like p-{int}.
windicss.enableBracketCompletion boolean true Enable Square Bracket Utilities Completion like bg-[#ff0].
windicss.enableAttrUtilityCompletion boolean true Enable Utility Completion For Attributify Mode.
windicss.enableAttrVariantCompletion boolean true Enable Variant Completion For Attributify Mode.
windicss.enableRemToPxPreview boolean true Enable Rem to Px Preview.
windicss.rootFontSize number 16 Used to convert rem CSS values to their px equivalents.
windicss.enableEmmetCompletion boolean false Enable . trigger for emmet.
windicss.enableCodeFolding boolean false Enable ClassNames Code Folding.
windicss.colorDecoratorsType string 'cube' Configure the type of color decorations, optional ['border', 'bg', 'cube', 'picker'], default is 'cube'.
windicss.foldByLength boolean false Folding code by length. Default option is false, will fold by utility count.
windicss.foldCount number 3 Used by foldByCount.
windicss.foldLength number 25 Used by foldByLength
windicss.hiddenText string ... Placeholder used when folding code.
windicss.hiddenTextColor string #AED0A4 Placeholder Color.
windicss.sortOnSave boolean false Runs class sorting on file save.
windicss.includeLanguages object {} Add additional file types.

Give an example of windicss.includeLanguages

javascript
"windicss.includeLanguages": {
  "abc": "html", // css, js
  "def": {
    "type": "css"
  },
  "ghi": {
    "type": "js",
    "patterns": ["@apply\s+\S+$", "..." ],
  },
}

For more information

  • Windi CSS
  • Documentation
  • Discussions
  • Issues

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptextensionhacktoberfestvscodewindicss

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架