Open jhgg opened 2 years ago
Hmm, yeah for local crates we probably want to link to the items in source, but for dependencies we still want to link to the doc.rs site.
Edit: Also https://github.com/rust-analyzer/rust-analyzer/issues/6332 seems to be related
Here is a small animation that highlights the issue.
I still have no idea how to circumvent this if your documentation is not publicly hosted at docs.rs.
Given this code:
A hover produces:
Foo
when clicked, links to: https://docs.rs/rust_playground/*/rust_playground/struct.Foo.htmlI think it should behave like these links:
and just navigate you to the relevant item in the editor.