Repository navigation
Description
A follow-up of #1870, collected in #1943.
What does "(experimental)" refer to?
The socket transport is labelled Socket (experimental) in the settings (bundle), and called experimental in the README, in UserDefinedLanguageServer.md and in the template docs about socket and transports. I can read that two ways, and I'm not sure which one is meant:
- LSP4IJ's socket support is experimental, i.e. new and less tested than stdio, which is how feat: reach a language server over a socket (experimental) #1870 explained it;
- it refers to something experimental in LSP. The same page suggests this reading: the Server tab has a field labelled Experimental: (bundle), which is an LSP term,
ClientCapabilities.experimental, sent ininitialize.
(For reference, the LSP specification lists the socket as one of the channels a server should offer, next to stdio, pipes and node-ipc, in its Implementation Considerations.)
Whichever it is, the label could say so:
- if it's LSP4IJ's implementation:
- Socket (experimental in LSP4IJ), clear, if a bit long;
- Socket (beta), short, a known word for maturity and no LSP term;
- Socket with a context help (
ContextHelpLabel, the?) that says what is experimental;
- if it's about LSP, with LSP in the label, e.g.:
- Socket (LSP experimental)
- Socket via LSP experimental
- Socket (experimental in LSP)
- Socket (LSP: experimental)
- Socket (experimental LSP transport)
- TCP socket (experimental in the LSP specification)
- or not marked as experimental at all:
- Socket
The Experimental: field could also be labelled Experimental capabilities:, maybe with a hint "Sent as capabilities.experimental in initialize" and a link to ClientCapabilities, so the two don't look alike.
Until when?
If it is about LSP4IJ: is there a plan for when the label goes? For example:
- after a release without bug reports about the socket transport;
- once the bundled templates whose servers support a socket (CSS, HTML, ESLint, all built on
vscode-languageserver) have asocketobject, so it gets used; - once the follow-ups in Tracking: follow-ups to the socket transport (#1870) #1943 that affect it are done, e.g. the error message for a refused connection and the IPv6 loopback.
Saying that in the docs, even as "experimental until …", would help users decide whether to rely on it, and template authors whether to add a socket object.
Activity
feat: the socket transport of a language server is no longer experime…
feat: the socket transport of a language server is no longer experime…