less / less.js

Less. The dynamic stylesheet language.
http://lesscss.org
Apache License 2.0
17k stars 3.41k forks source link

Empty Classes getting omitted automatically #3661

Closed deadmann closed 2 years ago

deadmann commented 2 years ago

I naturally tend to backup my JS codes with CSS classes for intellisense support in HTML file, and when what LESS does after compile, is to omit all empty classes, make the IDE dumb. how can I disable it in JetBrains products?

iChenLei commented 2 years ago

jetbrains issue tracker: https://youtrack.jetbrains.com/issues/WEB

And I know your issue, maybe https://github.com/less/less.js/issues/1006 and https://github.com/less/less.js/issues/3609 can help you.

iChenLei commented 2 years ago

Feel free to reopen this issue if it's still a issue.