You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on mdx-js/mdx-analyzer#384, a bit of boilerplate is needed to define custom LSP request and notification handlers.
I think it would be neat if service plugins can specify request and notification handlers. This means language servers no longer have to deal with any of this.
Based on mdx-js/mdx-analyzer#384, a bit of boilerplate is needed to define custom LSP request and notification handlers.
I think it would be neat if service plugins can specify request and notification handlers. This means language servers no longer have to deal with any of this.
The following service plugin:
Would be equivalent to the following language server code:
The service plugin name is used to scope the requests and notifications, and is therefor required.
This could also make usage from contexts other than a language server more straight-forward, e.g. for testing purposes or usage from Monaco editor.
The text was updated successfully, but these errors were encountered: