Detect and set syntax automatically


#1

I am wondering whether it is possible to set one (temp) file so it can change syntax dynamically.

  • Usually, we find some interesting code online, copy it to atom, it would be great if atom(through some packages) can automatically determine the language, and set syntax dynamically.

Thanks…


Change syntax highlighting based on file extension