vunguyentuan / vscode-css-variables

CSS variables autocomplete for vscode
https://marketplace.visualstudio.com/items?itemName=vunguyentuan.vscode-css-variables
MIT License
139 stars 22 forks source link

lookupFiles not work with workspace folder #71

Open whinc opened 1 year ago

whinc commented 1 year ago

I work with multi projects and expect only scan current workspace folder when editing file. Here is my vscode configuration, but it doesn't work

settings.json

  "cssVariables.lookupFiles": [
    "${workspaceFolder}/**/*.css",
    "${workspaceFolder}/**/*.scss",
    "${workspaceFolder}/**/*.sass",
    "${workspaceFolder}/**/*.less"
  ]

vscode workspace

workspace
-- project1
---- index.css  // expect only scan css files under project1
-- project2
-- ...
xiaohk commented 1 year ago

Is there any workaround for this?