Skip to content

Rain-1214/vue-scss-variable-scan

Repository files navigation

vue-scss-variable-scan

This is a extension that allows vscode to prompt custom variables for SCSS in Vue and Scss files.

Extension Settings

There four settings following:

  • vue-scss-variable-scan.globalPath: the path of scan variables for SCSS.(default: src/*/.scss)
  • vue-scss-variable-scan.globalExcludePath: the exclude path of scan variables for SCSS.(default: "")
  • vue-scss-variable-scan.addCustomCssProperty: this extension only support some property of css,if you want to support more property,you can add some property in this settings.(default: [])(PS: default support:["background", "border", "color", "width", "height", "font-size","padding","margin"])
    • if you want to prompt variables in all css property. you can add 'ALL' in this setting.
  • vue-scss-variable-scan.excludeCssProperty: if your don't like some property in default support,you can add it in this array.(default: [])

preview

preview.gif

About

让vscode在vue文件中提示scss自定义变量

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published