darron / language-ejs

EJS support for Atom.
Apache License 2.0
14 stars 7 forks source link

Package Broken. #17

Open ghost opened 7 years ago

ghost commented 7 years ago

When typing <% , it does not become blue like the screenshot and inside a for loop when I use html, it colorizes like it is javascript.

ghost commented 7 years ago

image

rodiw commented 7 years ago

I have the same problem, if not the same it's very close to it. It's like the %> doesn't close the first <%. (See picture below). Is there a fix to this?

skarmavbild 2017-06-06 kl 00 22 08

Edit: the first red one seems to be the opener while the second red seems to be the closer. But for some reason they aren't using the same line opener/closer.

albertpb commented 7 years ago

I'm having the same problem, using atom version 1.17.2

thebigreason commented 7 years ago

Same issue for me.

The readme says "Select 'JavaScript Template' if it's not automatically working."

What is a template and where do you select it? Does this fix the syntax highlighting?

tmxk3205 commented 6 years ago

same issue here...!

Cl00e9ment commented 6 years ago

Same problem. And I don't know what mean "Select 'JavaScript Template' if it's not automatically working."

stevenwalker91 commented 5 years ago

At the bottom bar in Atom, you can change the language - selecting javascript seems to help.

image

himanshu2680 commented 4 years ago

At the bottom bar in Atom, you can change the language - selecting javascript seems to help.

But that breaks the ejs snippets, merging javascript ones with it.

markasama commented 3 years ago

Changing language to EJS fixed it for me, it was on HTML and didn't show it. Not sure about changing to JavaScript, but check if the language is on EJS or HTML.

Also learned you can change language by doing that, thanks!

paridigm commented 3 years ago

For me, at the bottom bar, selecting 'EJS' causes my .ejs files to just appear like plain text files. Ie, there is no highlighting at all.

Is anyone else experiencing this?

I'm running on Chrome_Linux (ChromeOS Linux), Debian GNU/Linux 10 (buster), Atom v1.51.0 x64, language-ejs v0.4.0.

UPDATE: I found that it actually does highlight code as I type, but it doesn't highlight code that is already there upon opening files.