Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: Region Marker Folding in CSS/SCSS/LESS #48235

Closed
2 tasks done
octref opened this issue Apr 19, 2018 · 0 comments
Closed
2 tasks done

Test: Region Marker Folding in CSS/SCSS/LESS #48235

octref opened this issue Apr 19, 2018 · 0 comments

Comments

@octref
Copy link
Contributor

octref commented Apr 19, 2018

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:

  • 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.

@octref octref added this to the April 2018 milestone Apr 19, 2018
@chrmarti chrmarti removed their assignment Apr 24, 2018
@mjbvz mjbvz removed their assignment Apr 24, 2018
@mjbvz mjbvz closed this as completed Apr 24, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants