Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何阻止Prettier使用旧的自动关闭标记语法_Html_Visual Studio Code_Tags_Prettier - Fatal编程技术网

Html 如何阻止Prettier使用旧的自动关闭标记语法

Html 如何阻止Prettier使用旧的自动关闭标记语法,html,visual-studio-code,tags,prettier,Html,Visual Studio Code,Tags,Prettier,因此,我最近安装了prettier,每当我保存文件时,它都会在自动关闭标记中添加正斜杠。我想知道如何阻止它这样做 我的意思是:- <!-- Instead of this ↓ --> <input type="text"> <!-- It does this ↓ --> <input type="text" /> 提前谢谢您

因此,我最近安装了prettier,每当我保存文件时,它都会在自动关闭标记中添加正斜杠。我想知道如何阻止它这样做

我的意思是:-

<!-- Instead of this ↓ -->
<input type="text">

<!-- It does this ↓ -->
<input type="text" />

提前谢谢您