jsonata-js / jsonata

JSONata query and transformation language - http://jsonata.org
MIT License
2.12k stars 220 forks source link

vscode language server #331

Open Allam76 opened 5 years ago

Allam76 commented 5 years ago

I added a small jsonata code completion for the monaco editor (https://github.com/Allam76/jsonata-code-completion) based on json schemas.

This works but two additions could be useful:

1) Export the functions from jsonata so they can also be suggested. 2) Collaboration for language server

The standard jsonata function names are not available from the outside world. This would be useful to add so that suggestions could also include them.

The language server used by vscode and atom and others are much more than just code completion. Syntax highlighting is one more feature commonly available. To build a language server for jsonata these features should be considered as well and I don't really want to do that on my own. So if someone smart would like to come up with a jsonata grammar...

/Martin

Allam76 commented 5 years ago

https://github.com/microsoft/vscode-json-languageservice/issues/19