How to auto-comment a SASS selector using Sublime 3?

For a while I have been encoding SASS / compass on Sublime 3 with the following pattern:

.selector{
  property:value;
  property:value;
  property:value;
  >.sub-selector{
    property:value;
    property:value;
  }//>.sub-selector
}//.selector

Is there a way to achieve this in Sublime (or Emmet) after entering a selector?


FYI: I already used the snippet where I type ".". or "#" and press the tab, and it duplicates the text pointer after curly braces, but it was not very productive.

+4
source share

Source: https://habr.com/ru/post/1670784/


All Articles