multi line autoClosingPairs with indentation applied? #741
Closed
rubenporras
started this conversation in
General
Replies: 1 comment
-
I have realized I asked the same question a while back. I will reread my post. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to create some auto closing pairs that extend over two lines, for example:
{ "open": "if ", "close": "then\nend if;"}
this works fine, but the text after the new line is not indented like the initial
if
.Is there a way to fix the autoClosingPair so that it applies indentation? I already have onEnterRules that would increase the indentation on enter, but they are not applied it the "enter" is part of the closing pair. Do you have ideas how to make it work?
Beta Was this translation helpful? Give feedback.
All reactions