Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TypeScript Highlighting in Coda on MacOS

I am trying to get my Coda editor to highlight TypeScript properly. This page says that TypeScript is supported

https://library.panic.com/coda-ios/cios-syntax-modes/

However, in my Coda (which is up-to-date), the list of supported languages differs somewhat. How can I get TypeScript to highlight properly?

like image 874
MadPhysicist Avatar asked Jan 05 '23 05:01

MadPhysicist


1 Answers

You can add code highlighting in the Preferences under the "Editor" tab. Towards the bottom there's a section for "Custom Syntax Modes". Adding .ts as JavaScript will highlight TypeScript mostly right.

Unfortunately, this doesn't work with QuickLook to enable Coda 2 to create previews for .ts files. Please add that Panic!

like image 102
adjwilli Avatar answered Jan 13 '23 08:01

adjwilli