Is Atom the only editor that has syntax coloring for zsh-theme files?

Discussion in 'Mac Programming' started by patent10021, Mar 15, 2017.

  1. patent10021 macrumors 68020

    patent10021

    Joined:
    Apr 23, 2004
    #1
    Is Atom the only editor that has syntax coloring for .zsh-theme files?

    I've opened a .zsh-theme file in ST and Brackets but there is zero syntax color formatting. Atom however has really nice color formatting out of the box.

    Any ideas?
     
  2. mkelly macrumors regular

    Joined:
    Nov 29, 2007
    #2
    Microsoft's Visual Studio Code (which is based on Atom but has a nicer feature set, surprisingly) also does the trick.
     
  3. dyn macrumors 68030

    Joined:
    Aug 8, 2009
    Location:
    .nl
    #3
    Visual Studio Code is NOT based on Atom. Both Atom and Visual Studio Code are based on Electron. Hence why everything else between the two is very different. What works in Atom does not work in Visual Studio Code and vice versa.

    As far as I know there is no ZSH support for Visual Studio Code. It will recognise the files though but only as shell script (it is displayed as Shell Script (Bash) so you can guess it is favouring Bash here). That means it will apply the syntax highlighting for shell scripts to the theme and config files. From the looks of it, it seems that Atom does something similar.
     
  4. patent10021 thread starter macrumors 68020

    patent10021

    Joined:
    Apr 23, 2004
    #4
    Yes, that's exactly what it's doing and it's great. I guess that shows how deep Atom goes compared with Brackets and ST3 etc. I tried to like ST3 since so many people swear by it and claim it's faster than Atom but I call BS. Atom is just so much more plug & play and modern. Plus the eco-system is far more broad. I think if you're just using markup or building web sites ST3 and Brackets are good but if you're working in a wide range of stacks for mobile, data science in addition to backend etc I think Atom is definitely more versatile.
     
  5. mkelly macrumors regular

    Joined:
    Nov 29, 2007
    #5
    Yes, you're right of course. I did know that but for some reason there was a disconnect between brain and fingers when writing that reply :)

    BTW: I haven't touched Atom in awhile - does it still have issues opening files larger than 2MB? I know that a year and a half ago they added support for >2MB, but with some features disabled (syntax highlighting, folds and one or two other things).
     

Share This Page