vscode-explicit-folding icon indicating copy to clipboard operation
vscode-explicit-folding copied to clipboard

Rules grouping with OR condition

Open vt1b8 opened this issue 7 months ago • 1 comments

I offer to add functionality of one rule can exclude another. It could be done with grouping via [] and applying rules inside with OR condition depending on begin / beginRegex. Otherwise sometimes you can have two rules with different begin / beginRegex but same end / endRegex then it doesn't work correctly.

vt1b8 avatar Jan 06 '24 17:01 vt1b8

Could you give 1 or more use cases of the new syntax (with example) so I can understand what issue you are having.

daiyam avatar Jan 06 '24 20:01 daiyam