Closed oxk4r01 closed 3 years ago
try:
"[vue]": {
"explicitFolding.rules": [
{
"begin": "//b/",
"end": "//e/",
},
]
},
There was another [vue] entry in the json, and I had to put that inside it to avoid duplicates. I did it like that, but doesn't work :(
You can test 3 things:
Vue
(on the bottom right of the editor)"editor.showFoldingControls": "always"
"explicitFolding.debug": true
inside [vue]
and paste the logs here"Show folding controls" was already set up to "always".
In the other hand, setting added, but I'm not getting any Folding channel:
Hey, I find it. This was the problem:
If "folding strategy" is setup to "indentation", the extension doesn't work. When it's in "auto", the extension panel shows up in the output and the extension works as expected.
Ok, good! I didn't think of that.
I'm closing the issue since it has been fixed :wink:
Hi. I'm triying to fold custom regions in vue files, and have this setup:
And then in the editor:
But I'm not getting the supposed folding icon. Can you help me with this, please? (I'm using Vetur). Regards.