|Re: [wtp-dev] JSDT weekly 20151006|
On 8 Oct 2015, at 12:04, Angelo zerr wrote:
But feel free to open an enhancement request.
* JSX with React: tern is based on acorn parser which is extensible too. It exists an acorn plugin for JSX https://github.com/RReverser/acorn-jsx but I have never played with it and I would like to study it to know how we could integrates it to tern by cerating a tern plugin tern-react which will@Angelo Victor is going to work on coming up with a proposal for an extension point on JSDT so that tools such as tern.java can be easily integrated for highlighting, validations etc.customize acorn with acorn-jsx. See https://github.com/marijnh/tern/issues/565* TypeScript: the best mean is to create an acorn-typescript plugin, but Ihave no the skill to do that -( My idea is to use TypeScriptLanguageService inside tern. See https://github.com/marijnh/tern/issues/652After doing that, there is teh question about Syntax Coloration. There is the same problem with ES6 synatx. My idea was to delegate syntax colorationto tern I have created a POC with my idea at https://github.com/angelozerr/tern.java/tree/master/sandbox
I think he will get your feedback on that.
Back to the top