简体   繁体   中英

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?

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM