formulahendry / vscode-auto-close-tag

Auto Close Tag for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag
MIT License
174 stars 49 forks source link

Closing tags in non-HTML files #228

Open orlifera opened 2 months ago

orlifera commented 2 months ago

I was programming in TypeScript and when using generics, if i typed Array<T> it automatically typed Array<T></T> which is annoying. its a great feature for html file and frameworks, but when programming in other languages it shouldnt be active.

Thanks

joonassandell commented 1 month ago

@orlifera You can disable it for TypeScript with "auto-close-tag.disableOnLanguage": ["typescript"].