JerryI / wolfram-js-frontend

Dynamic Notebook Environment for Wolfram Language written in Javascript
https://jerryi.github.io/wljs-docs/
GNU General Public License v3.0
263 stars 10 forks source link

support part of language server #249

Open asukaminato0721 opened 1 month ago

asukaminato0721 commented 1 month ago

Is your feature request related to a problem? Please describe.

currently missing the lint and formatter.

Describe the solution you'd like

language server provided a lot of functionalities, so integrate it may make senses.

https://microsoft.github.io/language-server-protocol/implementors/servers/

Additional context Add any other context or screenshots about the feature request here.

JerryI commented 1 month ago

Related

https://github.com/FurqanSoftware/codemirror-languageserver

JerryI commented 1 month ago

Formatter is reachable from the command palette. But it is quite far from being perfect ;)

JerryI commented 1 month ago

Then we need a minimal working example with CodeMirror 6 editor (static html file) connected (via web sockets) to lsp https://github.com/WolframResearch/LSPServer