You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extension has great folding capabilities, like using ;region - ;endregion, but also every Function - EndFunction, If - EndIf, While - Wend, etc. can be folded. This is only mentioned in the description of the extension with a simple "Code folding" entry, which doesn't really do this great feature any justice, but this only as a side note ;-)
It's also possible to fold strings following the [[...]] notation, but here I think I encountered a small bug:
Example 1 works perfectly fine:
folded:
Example 2 works almost perfectly fine, except that the empty line between the two assignments probably should not vanish when folded (well, this is really a minor one and not really important):
folded:
Example 3: The thing with [[...]] strings is, that they include all linebreaks and spaced (similar to < pre > in HTML), so it's realistic that following lines could be without indentation. And this is the bug I mentioned:
folded:
Folding the Function folds it to the 2nd line of the string assignment.
Folding the [[...]] string folds until EndFunction
I assume folding orients itself at the code indentation, which can easily be broken when using [[...]] string.
Maybe it's possible to somehow ignore "indentation breaks" caused by [[...]]?
Cheers,
Michael
The text was updated successfully, but these errors were encountered:
The extension has great folding capabilities, like using ;region - ;endregion, but also every Function - EndFunction, If - EndIf, While - Wend, etc. can be folded. This is only mentioned in the description of the extension with a simple "Code folding" entry, which doesn't really do this great feature any justice, but this only as a side note ;-)
It's also possible to fold strings following the [[...]] notation, but here I think I encountered a small bug:
Example 1 works perfectly fine:
folded:
Example 2 works almost perfectly fine, except that the empty line between the two assignments probably should not vanish when folded (well, this is really a minor one and not really important):
folded:
Example 3: The thing with [[...]] strings is, that they include all linebreaks and spaced (similar to < pre > in HTML), so it's realistic that following lines could be without indentation. And this is the bug I mentioned:
folded:
I assume folding orients itself at the code indentation, which can easily be broken when using [[...]] string.
Maybe it's possible to somehow ignore "indentation breaks" caused by [[...]]?
Cheers,
Michael
The text was updated successfully, but these errors were encountered: