Does Ruff extension offer on-hover introspection?
alexandreczg opened this issue · 3 comments
Hi,
I'm coming from the Pylance world and trying the Ruff language server. I just installed it on my vscode and wondering about if the on-hover introspection is offered?
Like in this screenshot:
The above is coming from Pylance. I was wondering if we still need both extensions? If I remove Pylance I don't get any introspection.
Thank you,
- Ruff Version: 0.4.8
- Extension Version: v2024.26.0
Yeah, the Ruff LSP is intended to be used alongside a "full" LSP like Pylance. The Ruff LSP offers linting, quick fix, and formatting capabilities, but it is not a general LSP (i.e., it doesn't do Go-To Completion or similar).
@charliermarsh Thank you!
I spent 2 hours trying to disable the extra extensions (ms-python.python, ms-python.vscode-pylance, etc) being installed, now I understand why it wasn't working 🤣
Quick follow-up. Is there a way to only have the linting coming from Ruff, and remove the LSP (Pylance) ?