Syntax highlighting for TypeScript tsx files

typescript

#1

Dear Cloud9,
Is it possible to add highlighting support for TypeScript .tsx files? TSX files are the TypeScript equivalent of JSX files used for React.

I tested a file using the already built in typescript mode for Ace editor in:
https://ace.c9.io/build/kitchen-sink.html
and it seems to look okay

So I guess just the TSX file extension just needs to be mapped to the TypeScript mode in Ace.

Steps to reproduce:
1: clone repository https://github.com/keokilee/react-typescript-boilerplate.git
2: open file app/components/counter.tsx in editor
File is not syntax highlighted, expecting colors to be shown.


#2

this was fixed in today’s release. Thanks for the bug report!