Non-matching closing bracket in a block of code #8574
Replies: 4 comments
-
This is working as intended. I don't really see the issue here. Do you mean that you want the bracket to be automaticlly dedented? That would be #6044 |
Beta Was this translation helpful? Give feedback.
-
It should also use the previously autoinserted closing bracket, instead of adding an exceeding one |
Beta Was this translation helpful? Give feedback.
-
Ah so you mean how you can type Yeah I don't think we will implement this. That would mean we would skip arbitrary whitespace (including newlines).
Changing this would leave to a lot of annoying false positives. |
Beta Was this translation helpful? Give feedback.
-
I'm also interested in this feature, it would be nice not to have to leave insert mode to skip over the auto-inserted closing brace. I think it could minimize false positives by only skipping over the closing brace if it was inserted automatically as an auto-pair |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I don't know if it's the expected behaviour, but if I'm writing a block of code delimited by parentesis I would expect, starting a new line and closing the bracket, to match the closing bracket created by auto-pairing.
E.g.:
{ | // here I start a new line and type '}' }
I get
Beta Was this translation helpful? Give feedback.
All reactions