Chronic Syntax Highlighting Issue in PHP


#1

Syntax highlighting doesn’t work properly in PHP. This issue has been around for as long as I have been using atom.


#2

This isn’t specific to PHP. Atom gives up highlighting once you pass 100 symbols on a single line for performance reasons. If you break up that one gigantic line into multiple lines, it will highlight properly.


#3

I see. That does work but I don’t like that at all. I use softwrap to keep everything in view. Thanks for the useful tip though.