百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

windicss-intellisense

> 前端框架
开源

适用于 VS Code 的智能 WindiCSS 工具

194 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

适用于 VS Code 的智能 WindiCSS 工具

⚠️ 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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptextensionhacktoberfestvscodewindicss

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

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