Whats the best syntax highlighting for coffeescript?


#1

I’ve noticed that the current highlighter doesnt highlight “and” “or” and “not” and also doesnt highlight function calls. I’m a huge fan of syntax highlighting and I really like babel’s highlighter right now. Seeing as how Atom is built with coffeescript, I figured someone might know some better syntax highlighting tools.


#2

I think your best bet will be to add an issue to the language-coffee-script package, as an enhancement request.

Or perhaps even a PR with the changes you’re looking for.


#3

It’s mostly an issue with your theme rather than with the coffeescript grammar:

Given that CS supports both calls with and without parenthesis I think it’ll be really hard to have something that works without having a lot of side effects.


#4

So it turns out that some syntax highlighters just don’t have highlighting for boolean operators…