Closed Tridecatrix closed 1 year ago
You need to double escape:
"[arm]": {
"explicitFolding.rules": [
{
"beginRegex": "\\/\\/ <MAIN>",
"endRegex": "\\/\\/ <\\/MAIN>"
},
],
},
or use string:
"[arm]": {
"explicitFolding.rules": [
{
"begin": "// <MAIN>",
"end": "// </MAIN>"
},
],
},
@Tridecatrix Have you been able to fix your issue?
Oh I believe yes, think I just forgot to close it sorry
Versions used and details of configuration
VSCode 1.67.1 (system setup) Explicit Folding v0.21.0
Description of issue
I have this rule in my settings.JSON:
with the additional settings:
And I'm testing it on this code in a .S file (ARM assembly code, specifically ARMv7-M):
If I understand how the extension works, there should be a folding region created between these two lines, but as far as I can tell it's not working; there's no white arrow in the gutter like there usually is. And the debug output is baffling me; what is gimsuxyUJX??:
Tests attempted