Open disshishkov opened 9 years ago
Many thanks for a great extension ! Do you have plans to include typescript support in the near future ?
@presidentnickson I can look into adding adding support for TypeScript. Since my previous comment is quite old the circumstances might have changed. My preferred approach would be to generate an AST from the code and parse that similar to the JS approach. Is TypeScript supported by Brackets without extension yet?
@Hirse that would be great if you can look into it :)
I don't believe it is supported without an extension, I am using the following https://github.com/brackets-userland/brackets-typescript
Honestly this doesn't really have the highest priority right now, as the language isn't even supported by Brackets. Feel free to submit a PR, I will check it and merge quickly. To add support for another language, you would need to find a Regex that detects those language's definitions. The rest could maybe copied from existing languages.