aweiu
aweiu

Reputation: 392

Can WebStorm automatically complete global style names in string templates?

When using CSS Modules, it is often the case to write a combination style. The unfortunate thing is that the global class name in the string template has no code hints.

As the picture shows:

1 2

I want the letter "s" in the second picture to appear the same code hint as in the first picture

Upvotes: 0

Views: 40

Answers (1)

lena
lena

Reputation: 93728

Works for me:

enter image description here

what does your CSS module look like? Please share your global class definition

Upvotes: 2

Related Questions