DEV Community

Justin Ribeiro
Justin Ribeiro

Posted on • Originally published at justinribeiro.com on

2 1

Added CSS quickfix and error reporting to lit-html-plugin for VS Code

It took a little effort to get it just right, but I’ve been able add CSS quickfix and error reporting to the typescript-lit-html-plugin language plugin for VS Code. In the video below, we can see css quickfix and error reporting working for the <style> block without any fancy user settings (albiet with a flame emoji that didn’t make it into the pull request :-). It’s also smart enough to understand the difference between the various other pieces of code that might be in your tagged template.

Many thanks again to Matt over at Microsoft for putting up with my questions and taking the time to review and merge that pull request.

You can start using this now by grabbing the plugin lit-html or by configuing the language service for your editor of choice (see project readme for details).

Jetbrains image

Don’t Become a Data Breach Headline

57% of organizations have suffered from a security incident related to DevOps toolchain exposures. Is your CI/CD protected? Check out these nine practical tips to keep your CI/CD secure—without adding friction.

Learn more

Top comments (0)

👋 Kindness is contagious

Dive into this insightful write-up, celebrated within the collaborative DEV Community. Developers at any stage are invited to contribute and elevate our shared skills.

A simple "thank you" can boost someone’s spirits—leave your kudos in the comments!

On DEV, exchanging ideas fuels progress and deepens our connections. If this post helped you, a brief note of thanks goes a long way.

Okay