Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] JSDT meeting agenda 20151103

> Why do you say that? Tern uses http server to communicate with tern
> server (insead of readline like tsserver).

The problem with pure HTTP is that you can not support pushes from the
server to the client. You'd need at least use eg websockets to get that

Ok I understand what you mean! As long as Eclipse will not supprot async completion (see the  pushes from the
server to the client is not very interesting? Perhaps it's interesting for validation? In the case of, we have async completion when tern takes too time to avoid freezing Eclipse.

But I agree with you, I think WebSocket could be very good with tern with some features like for refreshing Angular Explorer when new modules, etc are updated/modified.

As I stated there are at least 2 methods in LanguageService who'll
respond not immediately:
* syntaxDiag
* semanticDiag

So the call to "geterr" returns no result (=void) but you get that
asynchronously and I think you can not support that with plain HTTP.

Perhaps with WebSocket ( with node). 

Please note: I'm not against Tern but if you use LanguageService you
need to keep the above in mind.

Sure Tom, I'm glad to discuss with you about this topic.If I have understandood well, Tern is for _javascript_ (it can guess type without declaring it in the code) although LanguageService is for TypeScript.
I'm studying how to I could integrate TypeScript inside to support Angular2.


Thomas Schindl, CTO EDV Systemhaus GmbH
Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
wtp-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top