langserver / langserver.github.io

http://langserver.org
202 stars 182 forks source link

Question: How do people handle language versions? #286

Open dstrohl opened 2 years ago

dstrohl commented 2 years ago

I assume that I simply missed this in the various docs, examples, tutorials etc... but what is the recommended way of handling different versions of a language? different servers for each version? or one server that takes a parameter and then responses depending on that? since (in most cases) most of a language is probably the same across most versions, it seems like having different servers to maintain for each version would add significant effort... but perhaps it's worth the effort to reduce the complexity of figuring out what version is being used for each request...

thoughts? is there a document on this?

Thanks!