[英]Beautify makes JSX ugly please look at the below scenario. I have tried a solution from a previous question with no success
The beautify extension in VSCode gives the below output. VSCode 中的美化扩展给出了下面的 output。 please find the code below.
请在下面找到代码。
<div className="container">
<span className="text-muted">
An amazing place to buy medicines.
</span>
</div>
When i attempt to beautify the above code i get the below output.当我尝试美化上述代码时,我得到以下 output。
< div className = "container" >
<
span className = "text-muted" >
An amazing place to buy medicines. <
/span> <
/div>
Please suggest a solution?请提出解决方案? We are looking to implement standard coding practices in our project seems to have hit a roadblock here.
我们正在寻求在我们的项目中实施标准编码实践似乎在这里遇到了障碍。
Have you tried this?你试过这个吗? : https://stackoverflow.com/a/61740593/260229
: https://stackoverflow.com/a/61740593/260229
"files.associations": {
"*.jsx": "javascriptreact"
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.