如何在VS代码中启用更漂亮的突出显示?
我在VS代码中安装了漂亮的扩展名,并且当我从命令调色板运行格式
时,它正确格式化JavaScript文件。但是,当我输入时,它并没有突出显示 /强调问题。我已经看到了此在网上为其他人工作的屏幕截图。如何实现问题的实时突出显示?我的设置更漂亮,为默认格式。
I have the Prettier extension installed in VS Code and it formats Javascript files correctly when I run Format Document
from the command palette. But it does not highlight / underline problems as I'm typing. I've seen screenshots of this working for other people online. How do I enable the real-time highlighting of problems? I have Prettier set as the default formatter.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(1)
我认为您需要 eslint 。更漂亮的格式。另请参阅此插件的出色工作:代码拼写检查器
I think you need ESLint. Prettier only formats. See also this plugins for a good job: Babel, Code Spell Checker