Skip to content
Discussion options

You must be logged in to vote

Hey @Lemour-sudo,

is there some option in your language client to insert a middleware? For example, the vscode-languageclient library allows to insert middleware for all requests/responses. In there you could rewrite the uri. Ideally, the language server itself should adhere to the LSP (which uses actual URIs with schemas), whereas the client implementation (i.e. middleware) should take care of any deviations from the protocol. That way, you get the most amount of portability out of your language server.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Lemour-sudo
Comment options

Answer selected by Lemour-sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants