ternjs / tern

A JavaScript code analyzer for deep, cross-editor language support
https://ternjs.net/
MIT License
4.25k stars 378 forks source link

TERN and LSP #964

Open PavelSosin opened 6 years ago

PavelSosin commented 6 years ago

Does any known implementation of TERN communicating with client via LSP protocol exists? Currently, SAP WebIDE uses Orion libraries from Scripted editor to provide Javascript code assistance but this is our past. For other languages we already use LSP Servers running as Cloud Foundry applications. We also need possibility to extend Javascript inference to support already implemented feature - support of SAP UI5 Controls library which generates UI Controls on the fly based on JSON style metadata. We would like to estimate necessary efforts as soon as possible.

tbodt commented 6 years ago

https://github.com/hsiaosiyuan0/vscode-ternjs is the only example I know of.

iamFIREcracker commented 5 years ago

@PavelSosin maybe this one? https://github.com/tbodt/js-langserver