Matsuuu / custom-elements-language-server

Custom Elements Language Server provides useful language features for Web Components. Features include code actions, completions, diagnostics and more.
BSD 3-Clause "New" or "Revised" License
83 stars 0 forks source link

Figure out a way to deliver messages to the client from the core layer #16

Open Matsuuu opened 1 year ago

Matsuuu commented 1 year ago

There are situations in which we might want to inform the user (via a popup or other kind of a message), that there is something actionable to be done. Example of this would be that we notice that the user doesn't have a CEM set up for their project, and we might want to nudge them towards setting it up.

This could be done via some sort of a listener system where the server subscribes to some kind of a event from the core, and passes it onwards

Things to take into account:

Matsuuu commented 10 months ago

First part (core to server) done in https://github.com/Matsuuu/custom-elements-language-server/pull/26