VS Code HTML mode to disable auto close tags

I can't figure out how to disable the new โ€œfeatureโ€ when the HTML VS Code mode editor types for you in the following scenario:

I type <b>, and when I press the last one >, it types </b>, which I then have to delete and move to where I want.

How can I prevent VS Code from printing things for me in this case? I have two options:

"editor.quickSuggestions": false,
"editor.autoClosingBrackets": false,

It seems like the opposite of this question: VSCode does not autocomplete HTML

+8
source share
1 answer

I found this:

// Enable/disable autoclosing of HTML tags.
"html.autoClosingTags": true,

autoClosingTags, true, , , , .

autoClosingTags false .

"html.autoClosingTags": true,
+16

Source: https://habr.com/ru/post/1686297/


All Articles