Support ty (python typechecker)
Is your feature request related to a problem? Please describe. ty is an upcoming typechecker for python which will include a LSP server.
Describe the solution you'd like A LSP-ty plugin.
Describe alternatives you've considered None
Additional context None
For now you can manually download the ty executable from the linked repository and add a basic config into your LSP settings to make it work:
{
"clients": {
"ty": {
"enabled": true,
"command": ["C:\\path\\to\\ty.exe", "server"], // Windows
"selector": "source.python",
},
}
}
At a first glance the server seems to support diagnostics, inlay hints and hover. The hover popups don't seem to be very useful yet, however the ty project apparently is in a very early stage though.
Actually, I find it very convenient to add LSP via such configuration as mentioned above!
Very concise and does not require installing any plugins, relying on when they update (not to pick on plugin developers, but that happens sometimes).
And nowadays it is extremely easy to install tools like ty, with Astral's uv tool install ty.
There exists https://packages.sublimetext.io/packages/LSP-ty now.