TheRealSyler / vscode-sass-indented

Sass indented syntax support for VSCode
https://marketplace.visualstudio.com/items?itemName=Syler.sass-indented
Other
46 stars 8 forks source link

I'm trying to get a #region, #endregion tags to drive folding in the editor. #12

Closed Hulley closed 4 years ago

Hulley commented 5 years ago

Describe the bug Folding doesn't work, even with other 3rd party plugins

To Reproduce open a .sass file and try to create a custom fold

Potential Fix in sass.language.json change

  "foldingStartMarker": "/\\*|^#|^\\*|^\\b|^\\.",
  "foldingStopMarker": "\\*/|^\\s*$",

to

  "foldingStartMarker": "/\\*|^#|^\\*|^\\b|*#?region|^\\.",
  "foldingStopMarker": "\\*/|*#?endregion|^\\s*$",
TheRealSyler commented 5 years ago

thanks for opening the issue, I have also noticed that you can't fold (anymore?), since I almost never fold my code I didn't really look into it, but I will try to fix it in the next version or the version after that.

TheRealSyler commented 4 years ago

Folding seems to be working again.