Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lsp4e-dev] LSPEclipseUtils.toWorkspaceFolder returns invalid URI

Hello,

Thanks for reaching out. Usually, please report the issue to https://github.com/eclipse/lsp4e/issues .
For this particular case, according to https://microsoft.github.io/language-server-protocol/specification#uri and https://datatracker.ietf.org/doc/html/rfc8089 , it seems like "your" file://E:/ is an incorrect URI, as it makes that the "E:" would be the host while it's actually the beginning of the path. On the other hand, file:/<path> URIs as used in LSP4E seems to be conform to the spec (appendix B of https://datatracker.ietf.org/doc/html/rfc8089 ).
So while we welcome enhancement to LSP4E to better work with more language servers; we won't change LSP4E to start using data and other symbols that are wrong according to their specifications. It seems to me that an issue should be reported against Gopls to have it support RFC-8089.

Cheers

Back to the top