This is a feature request for the TypeScript team to ship an xclangspec file with the TypeScript sources in order to provide support for syntax highlighting of the language in the Xcode IDE.
Google has done the same for their Go language; see here for an example of the xclangspec file format: https://code.google.com/p/go/source/browse/misc/xcode/go.xclangspec?r=30b0c392132645259e053a2ba8904383a55bab03
If someone is willing to build this file, we would be happy to point to it in the documentation and in typescriptLang.org.
Any news on this one?
Agree – this would be very cool.
+1
+1
0
If want to install an xclangspec for TypeScript, try: 'Adding syntax highlighting and source file support for TypeScript to Xcode' by Erica Sadun here: https://ericasadun.com/2018/12/17/adding-syntax-highlighting-and-source-file-support-for-typescript-to-xcode/
CAUTION: Be safe and backup you Xcode app before applying this new xclangspec for TypeScript.
@jakepetroules the version by Erica looks good enough to ship with Xcode in a future release IMO, I'm not sure if it makes sense for us to host the xclangspec/ideplugin on the TS side.
Most helpful comment
0
If want to install an xclangspec for TypeScript, try: 'Adding syntax highlighting and source file support for TypeScript to Xcode' by Erica Sadun here: https://ericasadun.com/2018/12/17/adding-syntax-highlighting-and-source-file-support-for-typescript-to-xcode/
CAUTION: Be safe and backup you Xcode app before applying this new xclangspec for TypeScript.