News for hackers. Stuff that matters.
Re:Ty: A fast Python type checker and language server by f311a on Wednesday May 07, 2025 @03:40PM (#43919833)
Does it support go to definition and other lsp features?
Re:Ty: A fast Python type checker and language server by dcreager on Wednesday May 07, 2025 @03:46PM (#43919885)
We do plan to provide an LSP server and VS Code plugin, which will support GTD etc. Though as several others have pointed out (e.g. https://news.ycombinator.com/item?id=43919354), it's still very early days for ty, so we don't have concrete release announcements for that yet.
Re:Ty: A fast Python type checker and language server by darkteflon on Wednesday May 07, 2025 @04:06PM (#43920078)
The VS Code extension is linked in one of the above comments. Accepting that it’s early days and all, but … if someone _really_ hated Pylance, could they replace it with ty for hobby projects and get most of the same headline functionality?

Thanks for all your great work! Love ruff, rye/uv.

Re:Ty: A fast Python type checker and language server by _carljm on Wednesday May 07, 2025 @06:46PM (#43921286)
Not the same headline functionality yet, no. At the moment all we support is diagnostics (some of which may be wrong) and go-to-type-definition. More will come.
Re:Ty: A fast Python type checker and language server by darkteflon on Wednesday May 07, 2025 @07:31PM (#43921537)
Thanks for the indulgence. My question was unreasonable, upon reflection, in light of the other information you’ve already provided in the thread.
Re:Ty: A fast Python type checker and language server by Hasnep on Wednesday May 07, 2025 @07:42PM (#43921603)
Depending on the reason you hate Pylance, you could try basedpyright instead https://docs.basedpyright.com/v1.18.4/installation/ides/