Coda syntax highlighting for Silverstripe

I just switched to a new car. On my old workhorse, I had Silverstripe (.ss) template files after highlighting the HTML syntax in Coda. I can't let my life remember how I turned it on (I remember that this was what I did myself, though). Google has not received any results.

Any suggestions?

+2
source share
1 answer

UPDATE: real way

In Coda, open "Preferences", go to the "Editor", at the bottom, add a custom syntax mode.


According to this manual:

  • Right click on Coda.appin /Applicationsand selectShow Package Contents
  • Switch to Contents/Resources/Modes/HTML.mode/Contents/Resources
  • Open ModeSettings.xml
  • <extension>ss</extension> .

(, SilverStripe.mode) ~/Library/Application Support/Coda/Modes

HTML.mode ~/Library/Application Support/Coda/Modes, , .

( /Library/Application Support/Coda/Modes .)

+6

All Articles