jupyterlab-lsp icon indicating copy to clipboard operation
jupyterlab-lsp copied to clipboard

Using ltex-ls on markdown and raw cells

Open teucer opened this issue 2 years ago • 4 comments

I want to use ltex-ls for markdown and raw cells. Are there any pointers on how to achieve that?

teucer avatar Sep 28 '22 11:09 teucer

Yes, this is in scope but not currently possible. This was discussed previously in #34. I did not know about ltex-ls before and was waiting for a revival of non-maintained languagetool-languageserver before putting more time into this, but ltex-ls seems like an even better fit.

It will be possible after JupyterLab 4.0 release, and we could port it back to LSP extension 4.0 version so that it is available for JupyterLab 3.x. The code in JupyterLab 4.0 is in:

https://github.com/jupyterlab/jupyterlab/blob/8e08e4252a79a6c816535b9e80759adff984cad7/packages/lsp-extension/src/index.ts#L56-L80

and in:

https://github.com/jupyterlab/jupyterlab/blob/a650dd8ac4fefe42d9a3b38a702b8660adf94bc3/packages/lsp/src/extractors/text_extractor.ts

I will look into this during refactor for 4.0.

krassowski avatar Sep 28 '22 16:09 krassowski

What is the ETA for JupyterLab 4.0?

teucer avatar Sep 29 '22 09:09 teucer

Unofficially/optimistically end of the year/January 2023.

krassowski avatar Sep 29 '22 09:09 krassowski

Following.

bruttif avatar Jan 29 '23 07:01 bruttif