Closed Melirius closed 4 years ago
Hi @Melirius,
In the new version of the extension (v0.7.1), I've added the property nested
so you can do:
{
"begin": "\/*",
"end": "*\/",
"nested": false
}
Thank you so much!
Still have a problem with 0.7.1 and "nested": false for the case of
/* M23eebr(pApB, pApI, pApJ, pBpI, pBpJ)
/* p1p2, p1k, p1pp1, p2k, p2pp1 */
with no spaces at the beginning of the second line. If I add a space, all is working.
@Melirius I can't reproduce the issue. Can you give me your config and an exact example when the foldings aren't correct?
Somehow it was connected to not fully updated extension. It had updated itself again after I reload Code (showing the banner again) and the problem disappeared.
For example, in C/C++ you can have a comment like this:
/ Start of a commented section of code, that can be switched back on just by adding / to the end of this line Some code / End of the section /
Unfortunately extension cannot fold this type of comments.