Hirse / brackets-outline-list

Extension for Brackets and Phoenix to display a list of the functions or definitions in the currently opened document.
MIT License
79 stars 30 forks source link

Typescript support #22

Open disshishkov opened 9 years ago

Hirse commented 9 years ago

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.

presidentnickson commented 5 years ago

Many thanks for a great extension ! Do you have plans to include typescript support in the near future ?

Hirse commented 5 years ago

@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?

presidentnickson commented 5 years ago

@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