zed
zed copied to clipboard
Open in docs.rs
Check for existing issues
- [X] Completed
Describe the feature
When you hover over a Rust symbol and documentation appears, there should be a button/link at the bottom to open the documentation in https://docs.rs.
If applicable, add mockups / screenshots to help present your vision of the feature
Here is this feature implemented in IntelliJ IDEA:
It would also be nice to have this in the right click menu.
Now that I've worked on a few language support extensions for Zed, I understand that it's not very compelling to implement this one feature just for Rust, so I suggest a new trait method on Extension in zed_extension_api with parameters that give info on a symbol and with a return type of an optional url.