FurqanSoftware / codemirror-languageserver

Language Server integration for CodeMirror 6
BSD 3-Clause "New" or "Revised" License
183 stars 24 forks source link

Anyway to make the lsp project aware? #24

Open paoloricciuti opened 1 year ago

paoloricciuti commented 1 year ago

Hi, sorry for opening another issue.

Finally I was able to make this work with the svelte language server and it works wonderfully.

Now while this is already very very good it would be very cool of I could also provide import autocompletion from the whole project (which the language server should be able to handle). To do so obviously I should be able to notify the language server about the whole project structure while also update it whenever some new file is created.

One thing I thought of trying while I was writing this issue is that maybe I declare the transport client myself so that I can notify the language server? Would this be a correct way?