scalameta / metals-sublime

Sublime Text package for Metals, a language server for Scala
https://packagecontrol.io/packages/LSP-metals
Apache License 2.0
16 stars 10 forks source link

Add accept latest-stable and latest-snapshot as server versions #97

Closed ayoub-benali closed 1 year ago

ayoub-benali commented 1 year ago

Fix https://github.com/scalameta/metals-sublime/issues/61

I am not sure if this exactly the same behavior as the vscode and vim plugins. @tgodzik are the other clients released now with latest-stable a default server version ?

cc @ninth-dev

tgodzik commented 1 year ago

Fix #61

I am not sure if this exactly the same behavior as the vscode and vim plugins. @tgodzik are the other clients released now with latest-stable a default server version ?

cc @ninth-dev

For VS Code we have a prerelease version, which tries to update the snapshot to the newest one, but the main releases are on stable versions. I think if the user knows what they are doing this should be fine.

ayoub-benali commented 1 year ago

Ok then I will change the default version here: https://github.com/scalameta/metals-sublime/blob/master/LSP-metals.sublime-settings#L3 to be latest-stable by default to avoid having to make a new release of this plugin each time metals makes a new stable release