zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
47.12k stars 2.71k forks source link

Make Cargo.toml available dependencies versions visible #17398

Open Sh4d1 opened 1 week ago

Sh4d1 commented 1 week ago

Check for existing issues

Describe the feature

In Vim I have a neat feature, that, for each dependency, marks if it's up to date, or what's the new latest version, the image speaks for itself! Which would be cool to have in Zed too!

If applicable, add mockups / screenshots to help present your vision of the feature

image

osiewicz commented 1 week ago

That's nifty indeed. For what it's worth, we already do something similar-ish for Node-based projects via package-version-server. I imagine we could get close to what you've presented via inlay hints. Would you mind lining to the package that handles it in Vim?

Sh4d1 commented 1 week ago

Yes it's https://github.com/Saecki/crates.nvim

panekj commented 1 week ago

You can use https://github.com/MathiasPius/crates-lsp/ which is used by https://github.com/MathiasPius/lapce-crates for Lapce editor (there is also https://github.com/filllabs/dependi)

AurevoirXavier commented 1 week ago

This could serve as a plugin. I just wish the team could enhance the extension capabilities and streamline the development process. I have numerous ideas, but at the moment, the zed_extension_api does not accommodate those features.