简体   繁体   中英

How to enable Prettier highlighting in VS Code?

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.

I think you need ESLint . Prettier only formats. See also this plugins for a good job: Babel , Code Spell Checker

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