-
Notifications
You must be signed in to change notification settings - Fork 3.4k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Add cross-language auto-suggest feature for package dependencies #14406
Comments
Would love to see this! Specifically for Rust and NodeJS. Maybe one last thing before I can fully move over from NeoVim 😊 ✨ |
Just like the dependi extension on vscode, very useful, would like to see that coming |
Been doing some thinking and proof of concept coding on this because I miss the autocompletion from IntelliJ in Zed. The current solution is to have multiple LSPs running, however, the suggestions from them tend to conflict with each other. Right now At the same time, we're unlikely to have the LSP for the config file format have functionality for each ecosystem. Instead, I think it might make sense to allow delegation between LSPs. Rather than have LSPs proxy (how would the LSP know if user wants to run a LSP with specific settings?), the LSP should respond that it suggests package completion. And then the user runs LSPs (which could be rolled into vtsls and rust-analyzer) to execute that command. Overview
It's very doable, but it requires a few different players (taplo, Zed, optionally rust-analyzer too) to implement some extensions to LSP - so I'm not sure how feasible this approach is. The alternative is to have a custom LSP Right now, my needs are mostly met by running my custom fork of taplo which contains |
I implemented it for rust: |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Check for existing issues
Describe the feature
I would love if someone implemented an auto-suggest feature for package dependencies across multiple programming languages. This feature would significantly improve the developer experience when working with various projects, particularly in managing dependencies in files like
Cargo.toml
for Rust,package.json
for JavaScript/Node.js,requirements.txt
for Python, and similar dependency management files in other languagesNote
It also doesn't have to be limited to rust crates, python dependencies, or nodejs packages either. It would be nice to have different languages supported as well.
Current behavior:
Proposed feature:
Package Version Auto-suggest:
Package Name Auto-suggest:
Benefits:
Quality of Life Improvements:
If applicable, add mockups / screenshots to help present your vision of the feature
The text was updated successfully, but these errors were encountered: