Code colors in Atom?


Newbie here. I can’t find any way to set Atom so that code displays in different colors as per Sublime Text. At the moment any code pasted into Atom is just white, making it hard to read.

Is there a way around this?

Many thanks



As in Sublime Text, you have to select a grammar to have the code colored. You can do that by clicking on the grammar name on the right side of the status bar: