Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] How to disable parse of the internal JSDT AST?

Hi guys,

I would like to know if you have planned for JSDT Editor to give the capability to disable the internal parse which build an AST? And if you have planned it, do you think it will be available for Neon?

In tern.java & typescript.java, I don't need this AST, because AST is done on tern server/tsserver side

1) double parsing problem (one parse on JSDT client side and a second parse on tern server/tsserver). I would like to avoid the parse on JSDT client side
2) peformance problem with big file which can take 30 secs (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=490898)
3) disable validation of the WTP Validator  because Esprima throw errors with TypeScript syntax (ex: var s: string) and tsserver is able to validate js, ts files.t).

If this internal AST cannot be disable (with an extension point?), I tell me if I must implement my own editor (I would like to avoid doing that).

Many thanks for your help!

Regard's Angelo



Back to the top