How can I stop Visual Studio Code from auto-adding closing tags?
Asked by
CuriousCoder91
I've tried to remove most of the auto-completion features in Visual Studio Code, but it still automatically adds the closing tags (like ) at the end of my strings. This drives me crazy because instead of learning to add these tags myself and improving my coding skills, I have to manually move the cursor after it inserts them, which is really frustrating. What can I do to completely disable this feature?
Answers
Check if there's a setting for "auto close tags" or something similar in your preferences. There are usually many options available that could help.
Reply to this answer
Is this issue occurring in an HTML file or JavaScript file? That could change how the editor behaves.
Reply to this answer
Have you installed any extensions, like Prettier? Sometimes extensions modify the default behavior.
Reply to this answer
That did it! I found the setting and turned off the auto closing tags. Thanks for the help!
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions