In VSCODE, how do I delete the closing </> in the html but the parent <> doesn't get deleted too?
<div> <!-- 2. which even followed was deleted-->
<p>TEXT</p>
<p>TEXT</p>
<p>TEXT</p>
</div> <!-- 1. This is what you want to delete-->
Please help.
In VSCODE, how do I delete the closing </> in the html but the parent <> doesn't get deleted too?
<div> <!-- 2. which even followed was deleted-->
<p>TEXT</p>
<p>TEXT</p>
<p>TEXT</p>
</div> <!-- 1. This is what you want to delete-->
Please help.
Open Visual Studio Code, go to File -> Preferences -> Settings
or use the shortcut ctrl + ,
to open the settings.
Search for the setting Auto Closing Tags
. Uncheck HTML: Auto Closing Tags.
These search results allow you to disable auto closing for JavaScript and TypeScript if desired.