简体   繁体   中英

How do you disable auto-closing JSX tags in VSCode?

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?

您可以使用以下设置将其关闭:

"javascript.autoClosingTags": false

Well, it's a nice feature but if you want to turn it off completely then you can hit the gear icon on left-bottom side corner and go to settings > search editor.autoClosingBrackets . If this is set to true, make it false . This is the default configuration settings you can override but in case you've installed some other plugin (related to React) then let me know.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM