clinyong / vscode-css-modules

https://marketplace.visualstudio.com/items?itemName=clinyong.vscode-css-modules
MIT License
143 stars 39 forks source link

Support less syntax #82

Open FoundTheWOUT opened 1 year ago

FoundTheWOUT commented 1 year ago
@import 'xxx';
.body{
  &-content{}
}
  1. The less compiler is load from user workspace, therefore I'm not sure how to write the test for this feature.
  2. The less compiler will erase the class that owning no value, this would cause some unexpected behaviors at some time. For example, for the example code above, we will get nothing in the Completion Inteligent.

before: image

after: image