EJS.tmLanguage icon indicating copy to clipboard operation
EJS.tmLanguage copied to clipboard

highlighting syntax gets messed up with open close brackets

Open builtbylane opened this issue 10 years ago • 22 comments

screenshot: http://cl.ly/YSH0

builtbylane avatar Nov 10 '14 17:11 builtbylane

Same problem. OSX 10.10.1

harberg avatar Jan 06 '15 17:01 harberg

Same here.

scaryguy avatar Mar 24 '15 02:03 scaryguy

+1

onedr0p avatar Apr 02 '15 03:04 onedr0p

Totally, very frustrating actually. I hope one day I'll get mad enough for fixing the issue myself and make a pull request!

zachary95 avatar Apr 21 '15 23:04 zachary95

+1

gpedro avatar Apr 22 '15 03:04 gpedro

Finally I'm a coward so I've moved on Handlebars. Punish me.

zachary95 avatar Apr 27 '15 16:04 zachary95

+1 (does #8 fix this?)

homerjam avatar Aug 17 '15 16:08 homerjam

+1 I've been struggling with this for a long time.

@homerjam How can I test the updated version? Not familiar with the plugin architecture on Sublime Text.

codeclown avatar Oct 11 '15 19:10 codeclown

@codeclown I think you can just place the plugin files in the sublime packages directory and then restart sublime - depends what platform you're on for the location of this directory.

http://docs.sublimetext.info/en/sublime-text-2/basic_concepts.html#the-data-directory

http://docs.sublimetext.info/en/sublime-text-3/basic_concepts.html#the-data-directory

homerjam avatar Oct 12 '15 09:10 homerjam

Just tested it and didn't work properly (i.e. same syntax issue). This could actually be a bug in Sublime Text since it seems to fail to recognize the ending tag.

codeclown avatar Oct 13 '15 17:10 codeclown

This is still an issue. Solved it by simply installing atom.

MattMorgis avatar Feb 23 '16 00:02 MattMorgis

+1

brentchow avatar Mar 09 '16 07:03 brentchow

I am having the same issue with messed up colorization. Using ST3 and OSX 10.10.5. screen shot 2016-03-14 at 2 35 24 pm

bondparkerbond avatar Mar 14 '16 20:03 bondparkerbond

+1

chupetoide avatar Mar 22 '16 23:03 chupetoide

Will any of the maintainers fix this?

NicoHinderling avatar Mar 29 '16 21:03 NicoHinderling

This thread still active since almost 1 year so I think you can just step through and move for another package or solution …

zachary95 avatar Mar 29 '16 22:03 zachary95

@TheSuperFly fair enough lol. Unfortunate there isn't a clear alternative

NicoHinderling avatar Mar 30 '16 23:03 NicoHinderling

@NicoHinderling There is now a clear alternative: EJS 2

nwoltman avatar May 07 '16 06:05 nwoltman

@nwoltman You're awesome. Thanks buddy :)

NicoHinderling avatar May 22 '16 08:05 NicoHinderling

@NicoHinderling No problem :)

nwoltman avatar May 22 '16 22:05 nwoltman

Sorry for the frustration. Somehow, notifications for this repo were turned of on Github, so I wasn't receiving emails about these comments.

I hope this PR merge solved the issue: https://github.com/samholmes/EJS.tmLanguage/commit/0299864473711904e94d781f0b1c09d0725f2497

Please let me know if problems continue.

samholmes avatar Sep 21 '16 05:09 samholmes

The problem is still there. I don't think the changes in 0299864 actually do anything. To make it easier to copy and paste some example code, here's the code from @bondparkerbond's screenshot above (the current syntax highlighting looks exactly the same as in his screenshot).

<a href="/products">Back</a>
<% if (product) { %>
  <h1><%= product.name %></h1>
  <h3><%= product.description %></h3>
  <h3>$<$= product.base_price %></h3>
  <h3>Qty: <%= product.quantity_on_hand %></h3>
<% } else { %>
  <h1>Product not found</h1>
<% } %>

nwoltman avatar Sep 22 '16 13:09 nwoltman