Ancss / css-var-hint

Intellisense support for CSS,LESS,SCSS Variables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

css-var-hint README

For the variables in the configured file, prompt the variables in the supported files

Select the corresponding text and click the small light bulb to replace the style

对配置的文件内变量,在支持的文件中进行变量提示

选中对应文本点击小灯泡进行样式的替换

Features

The supported prompt files are as follows

支持的提示文件如下

css css variable hint

scss scss variable hint

less less variable hint

vue css variable hint

replace style replace style

Extension Settings

If you want to use the extension, you must add the .vscode/settings.json file in the workspace

And add cssVarHint.files property, cssVarHint.files is an array, receiving .css .less scss file path

如果想要使用该插件,就必须在工作区中添加.vscode/settings.json文件

并且添加cssVarHint.files属性,cssVarHint.files是一个数组,接收.css .less scss文件路径

file config

{
  "cssVarHint.files": [
    "src/index.css",
    "src/index.less",
    "src/index.scss"
  ]
}

About

Intellisense support for CSS,LESS,SCSS Variables

License:MIT License


Languages

Language:TypeScript 87.3%Language:JavaScript 12.7%