option for editor.autoClosingBrackets
to not auto-close if there's a syntax error in the file
#210437
Labels
polish
Cleanup and polish issue
a very common cause of syntax errors are open brackets without a closing bracket, or vice versa:
attempting to fix this is always extremely annoying because it inserts another closing bracket, preventing the syntax error from being fixed:
Recording.2024-04-16.153253.mp4
setting it to
beforeWhitespace
makes it a bit less annoying (at least it used to, see #210436), but it can still sometimes insert closing brackets in cases where it causes a syntax error.i think an option to only insert an auto-closing bracket when there are no syntax errors in the file would be a massive improvement
The text was updated successfully, but these errors were encountered: