zed icon indicating copy to clipboard operation
zed copied to clipboard

Open in docs.rs

Open valentinegb opened this issue 2 years ago • 2 comments

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: Screenshot 2023-06-03 at 5 25 06 PM

valentinegb avatar Jun 04 '23 00:06 valentinegb

It would also be nice to have this in the right click menu.

ophilli avatar May 13 '24 07:05 ophilli

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.

valentinegb avatar May 13 '24 14:05 valentinegb