-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GoTo Definition (etc.) support #23
Comments
@charliermarsh |
What would |
Right now, the intent is for So at present, the roadmap for improving the LSP is mostly a subset of the roadmap for improving Ruff. Here are a few things that are on my mind:
I would love help with any and all of those! Beyond these items, I do want to expand Ruff into a general autoformatter. I'll write more about that soon. |
I guess the other option would be to look into leveraging another tool (like Jedi) to power some LSP capabilities and bundle them into Ruff -- @tsugumi-sys looked into that a bit here: #47. |
I'm not sure we need another jedi-based python lsp server. Jedi is the main bottleneck of servers based on it and pyright, for example, has dramatically better performance because it's not based on jedi (not even using the same language). So unless there is plan to re-implement Jedi-like functionality in Rust, maybe let's keep ruff lean, fast and focused on linting? :) |
Same. Even it's implemented, presuming my PC has Node.js always available, I don't see the reason why I would use it while pyright (imho) outperforms jedi in "Go to Definition". And maybe soon someone will ask for type checking as well. I don't need a big average Swiss knife but I am looking for champions in their own major field. But as long as it's optional, I don't really care. |
Yeah I feel similarly. If we add support for these features, it would be by way of writing a first-class autocompletion and language server in Rust, as opposed to bolting on something else. |
Hey,
I love the project and would like to eventually switch to
ruff-lsp
for my daily use. To do that, I'd like to contribute more functionality to the LSP, such as GoToDefinition, hover functionality etc.It would be cool to have some kind of roadmap for the planned features for the LSP.
The text was updated successfully, but these errors were encountered: