question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Annoying behavior when auto-closing quotes or brackets

See original GitHub issue

Assume you type in: let foo = "bar". When you enter this, directly into the editor, then you will get:

let foo = "bar";""

As the second " will not be detected as a closing ", but rather start a new one and add an additional closing one. This is super annoying, and is does work like a charm in JDT.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
norrucommented, Nov 5, 2018

I found autoclosing to be unreliable so I disabled it in Preferences -> TextMate -> Language Configurations -> org.eclipse.corrosion.rust -> Auto Closing Pairs -> (disable) Enable auto closing brackets as a workaround.

0reactions
mickaelistriacommented, Jan 25, 2019

Fixed upstream in TM4E.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How disable auto closing of brackets, quotes, curly braces etc ...
How disable auto closing of brackets, quotes, curly braces etc. for all file types? ... That autoclose feature is incredible annoying.
Read more >
Problem pasting text with brackets when using auto-close ...
This behavior gets annoying really fast, especially when trying to copy code. This is currently the only reason I'm not using an auto-close ......
Read more >
How to disable automatically adding a closing curly brace or ...
Controls if the editor should automatically close brackets after opening them. "editor.autoClosingBrackets": false,. Share. Share a link to this answer.
Read more >
Cursor moves after endqoute in VS Code - Super User
I cannot find an appropriate setting to control this behaviour either. Is there a setting to control the cursor behaviour when typing quotes?...
Read more >
Option to disable auto-close parenthesis? - Logseq forum
I want to disable auto-closing parenthesis feature. ... to control autopairing of quotes and brackets so that we can tailor to our needs....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found