Box-Of-Hats / Bem-VSCode-Extension

A VSCode extension for helping with inserting BEM (Block-Element-Modifier) classes.
BSD 3-Clause "New" or "Revised" License
29 stars 5 forks source link

How do shortcut keys specify labels? #19

Closed sunxiuming92 closed 4 years ago

sunxiuming92 commented 4 years ago

example:

<view class="list">
  <div class="list__"></div>  //Use alt + b e shortcut generated here
 </view>

Expectation:

<view class="list">
  <view  class="list__"></view >  //This is the result I expected
 </view>
Box-Of-Hats commented 4 years ago

By default, child elements will always be div elements. If you tab through the snippet, you'll be able to change the opening/closing tags.