vunguyentuan / vscode-css-variables

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

[Bug] should only show css variables suggestion in style block for vue file #60

Open tjx666 opened 1 year ago

tjx666 commented 1 year ago

image

lRainZz commented 7 months ago

vunguyentuan.vscode-css-variables@v2.6.5

This also happens in certain normal js files. Here I got the same behavior in a vue project in the vue router index.js I tried importing a component, and got css vars. Does NOT happen in main.js for example. Not sure where the difference lies.

Also note, that reassigned vars only show the original var as value and not the acutal value -> another issue?

image