简体   繁体   English

为什么 vs code extension prettier 不起作用?

[英]Why does vs code extension prettier not work?

When I press CTRL+S for saving the HTML document,prettier does not format the text.And shows an exclamation mark at the bottom of the screen on the blue part.What could be the reason for this and how do I actually fix this?当我按 CTRL+S 保存 HTML 文档时,prettier 没有格式化文本。并且在屏幕底部的蓝色部分显示一个感叹号。这可能是什么原因,我该如何解决? Image图像

Image2图二

Image3图3

Do click on the exclamation mark, it would show you a log of what the issue is, then share the image here请点击感叹号,它会向您显示问题所在的日志,然后在此处分享图片

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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