Open juarezr opened 4 months ago
You can already do:
"explicitFolding.rules": {
"*": [
{
"beginRegex": "#[\\s]*region[\\s]+([\\w]+)",
"endRegex": "#[\\s]*endregion",
},
]
},
You can already do:
"explicitFolding.rules": { "*": [ { "beginRegex": "#[\\s]*region[\\s]+([\\w]+)", "endRegex": "#[\\s]*endregion", }, ] },
@daiyam,
Thanks for your reply.
Maybe I'm missing something, but:
Describe the issue
I would like to suggest adding a way to share folding rules between languages.
It can help when one is working on projects that use multiple languages and tools because many languages have the same patterns for folding.
This can be especially useful for region folding across languages that use the same line comment syntax:
//region
and//endregion
#region
and#endregion
Configuration Example
Suggestion 1. - clone from laguange
Suggestion 2. - clone from language