Seems like a new feature - when I type <View>
it turns into <View></View>
. Can't imagine why anyone would want that but witholding judgement, how do I turn it off?
First, go to the Settings and search for "HTML: Auto Closing Tags" and uncheck the setting that is checked by default.
Go to File > Preferences > Settings, search for html. autoClosingTags and set it to false . This will make it so when you type <div> , it won't insert </div> automatically, but if you start typing </ , it won't close the tag automatically. You can press ENTER to make it autocomplete for you.
You can turn it off with the following setting:
"javascript.autoClosingTags": false
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With