You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this capability is more useful for a full fledged language server such as Pylance and, currently, ruff-lsp is only capable of providing diagnostics, formatting and code actions. Do you have any ideas / examples where inlay hints could be helpful with the current set of capabilities ruff-lsp provides?
That said, I'll leave this open for now as it could be useful when Ruff has a deeper understanding of the Python code. For example, inferred types.
ruff-lsp is only capable of providing diagnostics, formatting and code actions.
I hope ruff-lsp will be able to do more than that one day and maybe replace even pyright
Do you have any ideas / examples where inlay hints could be helpful with the current set of capabilities ruff-lsp provides?
thanks to its speed, I think ruff-lsp could be the right candidate for the type hints actually. The other alternatives for python are little bit slow. Plus type hints could be really useful for a code base that lacks the types.
pyright
has no plan to add it (see the issue here), so mayberuff
can implement it insteadThe text was updated successfully, but these errors were encountered: