JSLaTeX / vscode-ejs

EJS support for VSCode.
MIT License
3 stars 0 forks source link

Escape within <script> tags #1

Open Black-Platypus opened 2 years ago

Black-Platypus commented 2 years ago

Hi! I know it's not trivial, but we could really use language support even within <script> tags. Break out of JS and back into EJS-enabled "HTML"? Otherwise, every statement creates 4 errors 😬 image

leonsilicon commented 2 years ago

Hey there, thanks for posting an issue! This extension only does syntax highlighting, and unfortunately I don't have the time to implement complete language support for EJS from scratch in terms of parsing JavaScript. Let me know if you can find another extension that supports this and I'll be happy to include it in the README!

yyz945947732 commented 1 year ago

image

Disable this option can prevent error messages.

However, the other error messages are not visible in this way.