autoClosingBrackets Not Working


  • Hi all,

    VSCode doesn't automatically close HTML tags.

    My Workspace config file says:

    "editor.autoClosingBrackets": true,

    but it still doesn't work.

    For example, when you type in "<script" the IntelliSense suggestions pops up and you press enter on "script" it doesn't close the tag like this:


    but it stays like this:

    Any idea how to fix this?

    also, i noticed that if i manually enter <html> and </html> the closing html tag gets correctly indent-aligned with the opening tag automatically. But if i do the same with <script> and </script>, the closing tag does NOT get correctly auto-aligned. How to fix?


    • Edited by johny w Thursday, January 14, 2016 7:35 AM
    • Moved by Greazer Thursday, January 14, 2016 8:45 PM Wrong Forum
    Thursday, January 14, 2016 7:32 AM

All replies