You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Region marker folding has been added to CSS/SCSS/LESS.
Now in CSS you could use /* #region */ and /* #endregion */ to denote a folding region.
In SCSS/LESS you can also use // #region and // #endregion.
You can also put contents after #region, for example /* #region header */.
This makes CSS/SCSS/LESS to have 3 types of folding in total:
Region Marker Folding
Brace Folding: { and }
Multiline Comment Folding: /* */ comment that spans through multiple lines
Test that in the three languages, folding work as you expected. And in incomplete cases, such as region with open but not close marker, no folding marker would be shown.
The text was updated successfully, but these errors were encountered:
Complexity: 1
Ref: #46591
Region marker folding has been added to CSS/SCSS/LESS.
Now in CSS you could use
/* #region */
and/* #endregion */
to denote a folding region.In SCSS/LESS you can also use
// #region
and// #endregion
.You can also put contents after
#region
, for example/* #region header */
.This makes CSS/SCSS/LESS to have 3 types of folding in total:
{
and}
/* */
comment that spans through multiple linesTest that in the three languages, folding work as you expected. And in incomplete cases, such as region with open but not close marker, no folding marker would be shown.
The text was updated successfully, but these errors were encountered: