[html] Improve `html.autoCreateQuotes` to handle manually typed quotes
See original GitHub issueOpen a HTML file and type character-by-character (without looking at the screen):
<div class="asd">
- observe that you end up with
<div class=""asd"></div>
Issue Analytics
- State:
- Created 2 years ago
- Reactions:9
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Automatic double quotes after '=' in Visual Studio Code when ...
Search for html.autoCreateQuotes and disable it. Then you'll have to type the opening quote manually and it will work with single quote too....
Read more >Quoting in HTML: Quotations, Citations, and Blockquotes
It's all too common to see the incorrect HTML used for quotes in markup. In this article, let's dig into all this, looking...
Read more >January 2022 (version 1.64) - Visual Studio Code
When typing = after a property in HTML, the language service now automatically inserts quotes and places the cursor between the quotes.
Read more >Switching to single quotes for attribute completions in html
Use the " HTML › Completion: Attribute Default Value" setting to control if VS Code uses single or double quotes when completing html...
Read more >How to build a random quote generator with JavaScript and ...
Drag the folder into Sublime Text. Now it shows up on the sidebar menu. Most web project consist of at least one HTML,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm that disabling the HTML: Auto Create Quotes setting makes this problem go away (VSCode 1.64.2).
I feel like the insertion is slower than the typing, which leads to confusion. Quotes ends up being added while you started writing them. I’ve disabled this setting as I am used to add quotes manually with JSX.