Describe the bug
Nested variable declarations do not get evaluated for color values, where one of the parent CSS source file is present in multiple folder settings.
To Reproduce
Steps to reproduce the behavior:
Create a Multi Root project, and define two folders (f1 and f2) in it.
cssvar settings for both these folders would look something like the following:
As you can see both f1 and f2 folders depend on variables provided by open-props.css and are defined in both folder's settings
Intellisense for CSS variables in one of these folders (f2 for example) is not provided, even though open-props is declared in f2 folder's settings.
Expected behavior
Intellisense should work in both f1 and f2 folders, for open-props CSS variables.
Additional context
This is happening because a CSS source file is evaluated only once, unless it is modified later. Since open-props is served from node-modules, and is less likely to get updated, it isn't added to f2 intellisense providers.
Describe the bug Nested variable declarations do not get evaluated for color values, where one of the parent CSS source file is present in multiple folder settings.
To Reproduce Steps to reproduce the behavior:
cssvar
settings for both these folders would look something like the following:f1
andf2
folders depend on variables provided byopen-props.css
and are defined in both folder's settingsf2
for example) is not provided, even thoughopen-props
is declared inf2
folder's settings.Expected behavior Intellisense should work in both
f1
andf2
folders, foropen-props
CSS variables.Additional context This is happening because a CSS source file is evaluated only once, unless it is modified later. Since
open-props
is served from node-modules, and is less likely to get updated, it isn't added tof2
intellisense providers.